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:
parent
680799caa7
commit
d359431662
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue