ActionBar's text color of actions and dropdown menus changes from Android version to another -


what on nexus 5 (android 5):

enter image description here

what on asus memo pad (android 4.2.2):

enter image description here

my themes.xml:

<?xml version="1.0" encoding="utf-8"?> <resources>     <!-- theme applied application or activity -->     <style name="hhtheme" parent="@android:style/theme.holo.light">         <item name="android:actionbarstyle">@style/myactionbar</item>         <item name="android:textcolor">@color/themegraydarker</item>         <item name="android:actionmenutextcolor">@color/themewhite</item>         <item name="actionmenutextcolor">@color/themewhite</item>         <item name="android:popupmenustyle">@style/myapp.popupmenu</item>     </style>      <!-- actionbar styles -->     <style name="myactionbar" parent="@android:style/widget.holo.actionbar">         <item name="android:titletextstyle">@style/myactionbartitletext</item>         <item name="android:background">@color/actionbarbackground</item>     </style>      <!-- navigation drawer styling -->     <style name="navdraweritemselected" parent="hhtheme">         <item name="android:activatedbackgroundindicator">@color/themeblue</item>     </style>      <!-- actionbar title text -->     <style name="myactionbartitletext" parent="@android:style/textappearance.holo.widget.actionbar.title">         <item name="android:textcolor">@color/themewhite</item>     </style>      <!-- beef: background color action bar overflow menu -->     <style name="myapp.popupmenu" parent="android:widget.holo.light.listpopupwindow">         <item name="android:popupbackground">@color/actionbarpopupbackground</item>     </style> </resources> 

my colors.xml:

<resources>     <color name="themegray">#ff8a9199</color>     <color name="themegraydarker">#ff71767d</color>     <color name="themelightgray">#ffeaeaea</color>     <color name="themedarkgray">#ff3f434b</color>     <color name="themered">#ffcc292b</color>     <color name="themeblue">#ff002e63</color>     <color name="themewhite">#ffffffff</color>     <color name="buttonnormal">@color/themegray</color>     <color name="buttonpressed">@color/themeblue</color>      <color name="actionbarbackground">@color/themegray</color>     <color name="actionbarpopupbackground">@color/themedarkgray</color>     <color name="navigationmenubackground">@color/themered</color>     <color name="activitybackground">@color/themewhite</color>      <!-- relay switch state colors -->     <color name="relay_state_off">#ff00ad00</color>     <color name="relay_state_on">#ffcc1717</color>     <color name="relay_state_auto">#fff0ef30</color>     <color name="relay_state_inverse_off">#ffffffff</color>     <color name="relay_state_inverse_on">#ffffffff</color>     <color name="relay_state_inverse_auto">#ff000000</color> </resources> 

there's 1 colors.xml file in project. wrong? need white text color on both android versions!


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -