aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/values
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-01-13 22:18:40 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-01-13 22:18:40 +0100
commit862d1f1971a16d639dec47bd60226a959efe76b0 (patch)
treec488a278d28c58125846fbb8583670aedd193687 /OpenKeychain/src/main/res/values
parent2e3545949ba9ab48ed21cb2198c9f0d2b8691ba2 (diff)
downloadopen-keychain-862d1f1971a16d639dec47bd60226a959efe76b0.tar.gz
open-keychain-862d1f1971a16d639dec47bd60226a959efe76b0.tar.bz2
open-keychain-862d1f1971a16d639dec47bd60226a959efe76b0.zip
Green
Diffstat (limited to 'OpenKeychain/src/main/res/values')
-rw-r--r--OpenKeychain/src/main/res/values/colors_keychaintheme.xml4
-rw-r--r--OpenKeychain/src/main/res/values/styles_keychaintheme.xml39
-rw-r--r--OpenKeychain/src/main/res/values/themes.xml2
-rw-r--r--OpenKeychain/src/main/res/values/themes_keychaintheme.xml43
4 files changed, 87 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/res/values/colors_keychaintheme.xml b/OpenKeychain/src/main/res/values/colors_keychaintheme.xml
new file mode 100644
index 000000000..e9b8c9350
--- /dev/null
+++ b/OpenKeychain/src/main/res/values/colors_keychaintheme.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="keychaintheme_color">#4caf50</color>
+</resources>
diff --git a/OpenKeychain/src/main/res/values/styles_keychaintheme.xml b/OpenKeychain/src/main/res/values/styles_keychaintheme.xml
new file mode 100644
index 000000000..2913ad4c1
--- /dev/null
+++ b/OpenKeychain/src/main/res/values/styles_keychaintheme.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- Generated with http://android-holo-colors.com -->
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <style name="AutoCompleteTextViewKeychainTheme" parent="android:Widget.Holo.Light.AutoCompleteTextView">
+ <item name="android:dropDownSelector">@drawable/keychaintheme_list_selector_holo_light</item>
+ <item name="android:background">@drawable/keychaintheme_edit_text_holo_light</item>
+ </style>
+
+ <style name="ButtonKeychainTheme" parent="android:Widget.Holo.Light.Button">
+ <item name="android:background">@drawable/keychaintheme_btn_default_holo_light</item>
+ </style>
+
+ <style name="ImageButtonKeychainTheme" parent="android:Widget.Holo.Light.ImageButton">
+ <item name="android:background">@drawable/keychaintheme_btn_default_holo_light</item>
+ </style>
+
+ <style name="SpinnerKeychainTheme" parent="android:Widget.Holo.Light.Spinner">
+ <item name="android:background">@drawable/keychaintheme_spinner_background_holo_light</item>
+ <item name="android:dropDownSelector">@drawable/keychaintheme_list_selector_holo_light</item>
+ </style>
+
+ <style name="ProgressBarKeychainTheme" parent="android:Widget.Holo.Light.ProgressBar.Horizontal">
+ <item name="android:progressDrawable">@drawable/keychaintheme_progress_horizontal_holo_light</item>
+ <item name="android:indeterminateDrawable">@drawable/keychaintheme_progress_indeterminate_horizontal_holo_light</item>
+ </style>
+
+ <style name="SeekBarKeychainTheme" parent="android:Widget.Holo.Light.SeekBar">
+ <item name="android:progressDrawable">@drawable/keychaintheme_scrubber_progress_horizontal_holo_light</item>
+ <item name="android:indeterminateDrawable">@drawable/keychaintheme_scrubber_progress_horizontal_holo_light</item>
+ <item name="android:thumb">@drawable/keychaintheme_scrubber_control_selector_holo_light</item>
+ </style>
+
+ <style name="ToggleKeychainTheme" parent="android:Widget.Holo.Light.Button.Toggle">
+ <item name="android:background">@drawable/keychaintheme_btn_toggle_holo_light</item>
+ </style>
+
+</resources> \ No newline at end of file
diff --git a/OpenKeychain/src/main/res/values/themes.xml b/OpenKeychain/src/main/res/values/themes.xml
index 864e2805c..2f5577f00 100644
--- a/OpenKeychain/src/main/res/values/themes.xml
+++ b/OpenKeychain/src/main/res/values/themes.xml
@@ -3,7 +3,7 @@
<style name="KeychainTheme" parent="KeychainTheme.Base" />
- <style name="KeychainTheme.Base" parent="Theme.AppCompat.Light">
+ <style name="KeychainTheme.Base" parent="HoloKeychainTheme">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimary</item>
<item name="android:windowNoTitle">true</item>
diff --git a/OpenKeychain/src/main/res/values/themes_keychaintheme.xml b/OpenKeychain/src/main/res/values/themes_keychaintheme.xml
new file mode 100644
index 000000000..ce6922ba0
--- /dev/null
+++ b/OpenKeychain/src/main/res/values/themes_keychaintheme.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- Generated with http://android-holo-colors.com -->
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <style name="HoloKeychainTheme" parent="@style/_KeychainTheme"/>
+
+ <style name="_KeychainTheme" parent="Base.Theme.AppCompat.Light">
+
+ <item name="android:editTextBackground">@drawable/keychaintheme_edit_text_holo_light</item>
+
+ <item name="android:textColorHighlight">#994caf50</item>
+ <item name="android:textSelectHandleLeft">@drawable/keychaintheme_text_select_handle_left</item>
+ <item name="android:textSelectHandleRight">@drawable/keychaintheme_text_select_handle_right</item>
+ <item name="android:textSelectHandle">@drawable/keychaintheme_text_select_handle_middle</item>
+
+ <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewKeychainTheme</item>
+
+ <item name="android:listChoiceIndicatorMultiple">@drawable/keychaintheme_btn_check_holo_light</item>
+
+ <item name="android:listChoiceIndicatorSingle">@drawable/keychaintheme_btn_radio_holo_light</item>
+
+ <item name="android:buttonStyle">@style/ButtonKeychainTheme</item>
+
+ <item name="android:imageButtonStyle">@style/ImageButtonKeychainTheme</item>
+
+ <item name="android:dropDownSpinnerStyle">@style/SpinnerKeychainTheme</item>
+
+ <item name="android:progressBarStyleHorizontal">@style/ProgressBarKeychainTheme</item>
+
+ <item name="android:seekBarStyle">@style/SeekBarKeychainTheme</item>
+
+ <item name="android:buttonStyleToggle">@style/ToggleKeychainTheme</item>
+
+ <item name="android:listChoiceBackgroundIndicator">@drawable/keychaintheme_list_selector_holo_light</item>
+
+ <item name="android:activatedBackgroundIndicator">@drawable/keychaintheme_activated_background_holo_light</item>
+
+ <item name="android:fastScrollThumbDrawable">@drawable/keychaintheme_fastscroll_thumb_holo</item>
+
+ </style>
+
+</resources> \ No newline at end of file