aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/values/themes.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-08-12 17:00:09 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2015-08-12 17:00:09 +0200
commit65517f0d06c0b6fc4bb2fb828ae648c4652e7c00 (patch)
tree417bd76e5850701d356e9d8eff0ca19a29a2551a /OpenKeychain/src/main/res/values/themes.xml
parenta7392eb99d4393382f8b0553853fd1a163403fba (diff)
downloadopen-keychain-65517f0d06c0b6fc4bb2fb828ae648c4652e7c00.tar.gz
open-keychain-65517f0d06c0b6fc4bb2fb828ae648c4652e7c00.tar.bz2
open-keychain-65517f0d06c0b6fc4bb2fb828ae648c4652e7c00.zip
Style dialog buttons
Diffstat (limited to 'OpenKeychain/src/main/res/values/themes.xml')
-rw-r--r--OpenKeychain/src/main/res/values/themes.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/res/values/themes.xml b/OpenKeychain/src/main/res/values/themes.xml
index 4fc4ea1f5..559563a54 100644
--- a/OpenKeychain/src/main/res/values/themes.xml
+++ b/OpenKeychain/src/main/res/values/themes.xml
@@ -37,6 +37,9 @@
<!-- multi selection should overlay Toolbar! http://stackoverflow.com/a/26450875 -->
<item name="windowActionModeOverlay">true</item>
<item name="searchViewStyle">@style/MySearchViewStyle</item>
+
+ <!-- style dialogs -->
+ <item name="alertDialogTheme">@style/KeychainTheme.LightDialog</item>
</style>
<style name="DarkBaseTheme" parent="MaterialDrawerTheme.ActionBar">
@@ -77,6 +80,9 @@
<!-- multi selection should overlay Toolbar! http://stackoverflow.com/a/26450875 -->
<item name="windowActionModeOverlay">true</item>
<item name="searchViewStyle">@style/MySearchViewStyle</item>
+
+ <!-- style dialogs -->
+ <item name="alertDialogTheme">@style/KeychainTheme.DarkDialog</item>
</style>
<style name="LightTheme" parent="LightBaseTheme">
@@ -105,7 +111,15 @@
<!--<item name="suggestionRowLayout">...</item>-->
</style>
- <style name="KeychainTheme.YubiKeyDialog" parent="@style/Theme.AppCompat.Light.Dialog.MinWidth">
+ <style name="KeychainTheme.LightDialog" parent="Base.Theme.AppCompat.Light.Dialog.Alert">
+ <item name="colorAccent">#7bad45</item>
+ </style>
+
+ <style name="KeychainTheme.DarkDialog" parent="Base.Theme.AppCompat.Light.Dialog.Alert">
+ <item name="colorAccent">#268bd2</item>
+ </style>
+
+ <style name="KeychainTheme.LightSecurityTokenDialog" parent="Theme.AppCompat.Light.Dialog.MinWidth">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>