From 75faa60be162c95716e49fe1f4635bd04ab582b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sun, 2 Feb 2014 16:24:58 +0100 Subject: Hacks to make dialogs on Android 2.3 black on white, and not black on black --- OpenPGP-Keychain/src/main/AndroidManifest.xml | 2 +- .../keychain/ui/dialog/FileDialogFragment.java | 8 ++++-- .../ui/dialog/ShareQrCodeDialogFragment.java | 3 ++- .../res/drawable-hdpi/popup_center_bright.9.png | Bin 0 -> 1110 bytes .../main/res/drawable-hdpi/popup_full_bright.9.png | Bin 0 -> 2039 bytes .../src/main/res/layout/file_dialog.xml | 27 +++++++-------------- .../src/main/res/values-v14/styles.xml | 18 ++++++++++++++ OpenPGP-Keychain/src/main/res/values/styles.xml | 22 ++++++++++++++++- 8 files changed, 57 insertions(+), 23 deletions(-) create mode 100644 OpenPGP-Keychain/src/main/res/drawable-hdpi/popup_center_bright.9.png create mode 100644 OpenPGP-Keychain/src/main/res/drawable-hdpi/popup_full_bright.9.png create mode 100644 OpenPGP-Keychain/src/main/res/values-v14/styles.xml diff --git a/OpenPGP-Keychain/src/main/AndroidManifest.xml b/OpenPGP-Keychain/src/main/AndroidManifest.xml index 49442f163..414361a47 100644 --- a/OpenPGP-Keychain/src/main/AndroidManifest.xml +++ b/OpenPGP-Keychain/src/main/AndroidManifest.xml @@ -56,7 +56,7 @@ android:allowBackup="false" android:hardwareAccelerated="true" android:icon="@drawable/icon" - android:theme="@style/Theme.AppCompat.Light" + android:theme="@style/KeychainTheme" android:label="@string/app_name"> - - + android:paddingRight="5dip"> + + + android:orientation="horizontal"> + + + + + + + + \ No newline at end of file diff --git a/OpenPGP-Keychain/src/main/res/values/styles.xml b/OpenPGP-Keychain/src/main/res/values/styles.xml index 9e61bbef4..f03d72605 100644 --- a/OpenPGP-Keychain/src/main/res/values/styles.xml +++ b/OpenPGP-Keychain/src/main/res/values/styles.xml @@ -1,14 +1,34 @@ + + + + + + + + \ No newline at end of file -- cgit v1.2.3