diff options
author | Thialfihar <thi@thialfihar.org> | 2015-07-04 18:48:18 +0200 |
---|---|---|
committer | Thialfihar <thi@thialfihar.org> | 2015-07-21 20:56:42 +0200 |
commit | d359431662c600b25317f54126ba836dd478bdef (patch) | |
tree | e45aafba7d0d643e1feae710608290de89af250c | |
parent | 680799caa7bbe57e45300102b93b11850beff893 (diff) | |
download | open-keychain-d359431662c600b25317f54126ba836dd478bdef.tar.gz open-keychain-d359431662c600b25317f54126ba836dd478bdef.tar.bz2 open-keychain-d359431662c600b25317f54126ba836dd478bdef.zip |
Fix color of selected text in drawer menu for light theme
The MaterialDrawerTheme.Light.ActionBar makes the drawer icon in the top
left black for some reason. A work-around is to set the primary colour
back to green, so it will be used for Theme.AppCompat.Light and override
the selected text colour for the dark theme.
-rw-r--r-- | OpenKeychain/src/main/res/values/colors.xml | 2 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/values/themes.xml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/values/colors.xml b/OpenKeychain/src/main/res/values/colors.xml index f8d71d0d7..5db66b945 100644 --- a/OpenKeychain/src/main/res/values/colors.xml +++ b/OpenKeychain/src/main/res/values/colors.xml @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <resources> + <color name="primary">#7bad45</color> + <color name="icons">#ffffff</color> <color name="transparent">#00ffffff</color> diff --git a/OpenKeychain/src/main/res/values/themes.xml b/OpenKeychain/src/main/res/values/themes.xml index b6e6f7ec1..3bdbf811d 100644 --- a/OpenKeychain/src/main/res/values/themes.xml +++ b/OpenKeychain/src/main/res/values/themes.xml @@ -59,6 +59,8 @@ <item name="colorHeaderText">#d0d0d0</item> <item name="colorTertiaryText">#808080</item> + <item name="material_drawer_selected_text">#268bd2</item> + <!-- remove actionbar and title, we use toolbar! --> <item name="windowNoTitle">true</item> <item name="windowActionBar">false</item> |