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.
This commit is contained in:
Thialfihar 2015-07-04 18:48:18 +02:00
parent 680799caa7
commit d359431662
2 changed files with 4 additions and 0 deletions

View file

@ -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>

View file

@ -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>