I'm trying to skin the options menu on android.  I have the background
color changed with a custom theme, but I can't get the text color to
change for some reason.

My Theme

    <style name="default" parent="@android:style/Theme.NoTitleBar">

        <!--  Menu panel colors -->
        <item name="android:panelBackground">@color/
optionsMenuBackgroundColor</item>
        <item name="android:panelFullBackground">@color/
optionsMenuBackgroundColor</item>

        <!--  Menu item colors -->
        <item name="android:itemTextAppearance">@style/OptionsMenuFont</
item>

     </style>

My Style for the options menu font

    <style name="OptionsMenuFont" parent="@android:style/
TextAppearance.Widget.IconMenu.Item">
        <item name="android:textColor">@drawable/menu_item_font</item>
    </style>

My drawable for the button color selector menu_item_font.xml

        <?xml version="1.0" encoding="utf-8"?>
        <selector xmlns:android="http://schemas.android.com/apk/res/android";
>

                <!--  Put other state colors up top -->


                <item android:color="@color/optionsMenuTextColor" />

        </selector>

That color is just a hex color #c4c4c4.
I have also tried just putting a straight hex color value of #ffffff
in there, which also doesn't work.

What am I missing here?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to