Customize the attrs.xml/ styles.xml/ styles.xml-night
Insert a new attribute "menuTextColor" to adjust colors of menu items in the Navigation Drawer in DarkMode.
This commit is contained in:
parent
cafb8cb10f
commit
b9e8324b27
3 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
||||||
<item name="android:itemBackground">@color/cardview_dark_background</item>
|
<item name="android:itemBackground">@color/cardview_dark_background</item>
|
||||||
<item name="backgroundTutorialSlide">@color/colorPrimaryDark</item>
|
<item name="backgroundTutorialSlide">@color/colorPrimaryDark</item>
|
||||||
<item name="backgroundTutorialStars">@color/colorPrimaryDark</item>
|
<item name="backgroundTutorialStars">@color/colorPrimaryDark</item>
|
||||||
|
<item name="menuTextColor">@color/white</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ToolbarStyle" parent="Widget.AppCompat.ActionBar">
|
<style name="ToolbarStyle" parent="Widget.AppCompat.ActionBar">
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
<attr name="rankingStarNotSelected" format="color"/>
|
<attr name="rankingStarNotSelected" format="color"/>
|
||||||
<attr name="inactiveButtonColor" format="color"/>
|
<attr name="inactiveButtonColor" format="color"/>
|
||||||
<attr name="activeButtonColor" format="color"/>
|
<attr name="activeButtonColor" format="color"/>
|
||||||
|
<attr name="menuTextColor" format="color"/>
|
||||||
<attr name="highlightedButtonBorder" format="color"/>
|
<attr name="highlightedButtonBorder" format="color"/>
|
||||||
<attr name="backgroundTutorialSlide" format="color"/>
|
<attr name="backgroundTutorialSlide" format="color"/>
|
||||||
<attr name="backgroundTutorialStars" format="color"/>
|
<attr name="backgroundTutorialStars" format="color"/>
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
<item name="actionBarTheme">@style/ToolbarStyle</item>
|
<item name="actionBarTheme">@style/ToolbarStyle</item>
|
||||||
<item name="backgroundTutorialSlide">@color/colorAccent</item>
|
<item name="backgroundTutorialSlide">@color/colorAccent</item>
|
||||||
<item name="backgroundTutorialStars">@color/white</item>
|
<item name="backgroundTutorialStars">@color/white</item>
|
||||||
|
<item name="menuTextColor">@null</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ToolbarStyle" parent="Widget.AppCompat.ActionBar">
|
<style name="ToolbarStyle" parent="Widget.AppCompat.ActionBar">
|
||||||
|
|
Loading…
Reference in a new issue