I had the same problem with "android:actionMenuTextAppearance" not
working even when it was in my main theme and testing my app on a
Nexus. I'm not sure if its the correct solution, but after looking at
the source code for action bar, I used
"android:textAppearanceLargePopupMenu" instead for my custom menu text
appearance. Alternatively, you can just add <item
name="android:textAppearanceLargePopupMenu">?android:attr/
actionMenuTextAppearance</item> and then your
"android:actionMenuTextAppearance" should work. I'm not sure how this
affects other parts of your app though, so use it wisely, and make
sure to check your app on older versions of android too. I use a
values-v11 folder for my new action bar themes and styles.
On May 24, 1:47 pm, Fabien <
fabr...@gmail.com> wrote:
> Thank you, I do what you described but there is no effect on my application !
>
> 2012/5/23 SimonVT <
simo...@gmail.com>:
>
>
>
>
>
>
>
> > Add the attributes to your theme, set it in manifest.
>
> > <style name="MyTheme" parent="Theme.Sherlock.Light.DarkActionBar">
> > <item name="actionMenuTextColor">@color/red</item>
> > <item name="android:actionMenuTextColor">@color/red</item>
> > </style>
>
> > <application android:label="@string/app_name"
> > android:theme="@style/MyTheme">
>
> > On Tuesday, May 22, 2012 11:04:35 PM UTC+2, Tim wrote:
>
> >> Yeah I've done likewise and see no change in the UI. Could you give us any
> >> pointers?
>
> >> Cheers,
> >> TIm
>
> >> On Tuesday, May 22, 2012 9:26:05 PM UTC+1, Fab wrote:
>
> >>> Sorry, I don't understand.
>
> >>> Could you give us an example ?
>
> >>> I add this in my theme :
> >>> <style name="MyTheme" parent="Theme.Sherlock.Light.DarkActionBar">
> >>> <item name="actionMenuTextColor">@color/red_light</item>
> >>> <item name="android:actionMenuTextColor">@color/red_light</item>
> >>> </style>
>
> >>> 2012/5/22 SimonVT <
simo...@gmail.com>:
> >>> > I just tried, both attributes works fine. Defined directly in theme set
> >>> > in
> >>> > manifest.
>
> >>> > On Tuesday, May 22, 2012 5:36:20 PM UTC+2, SimonVT wrote:
>
> >>> >> If the android:-prefixed attributes are not picked up on ICS, then
> >>> >> this is
> >>> >> not an ABS bug.
>
> >>> >> On Tuesday, May 22, 2012 4:25:59 PM UTC+2, Tim wrote:
>
> >>> >>> I'm seeing this issue too, has it been accepted as a bug?
>
> >>> >>> On Sunday, May 20, 2012 2:39:57 PM UTC+1, Fab wrote:
>
> >>> >>>> Jake, are you able to reproduce this bug ?
>
> >>> >>>> 2012/5/14 Mike Carter <
carter.m...@me.com>:
> >>> >>>> > I can confirm this. Seems like ABS doesn't honor either of the
> >>> >>>> > following:
>
> >>> >>>> > <item
>
> >>> >>>> > name="actionMenuTextAppearance">@style/TextAppearance.MyTheme.Widget.ActionBar.Menu</item>
>
> >>> >>>> > <item name="actionMenuTextColor">@color/my_color</item>
>
> >>> >>>> > <item name="android:actionMenuTextAppearance">@style/TextAppearance.MyTheme.Widget.ActionBar.Menu</item>
>
> >>> >>>> > <item name="android:actionMenuTextColor">@color/my_color</item>
>
> >>> >>>> > On Tuesday, May 8, 2012 5:50:08 PM UTC-4, Fab wrote:
>
> >>> >>>> >> Do you know why I've no text color changed ? Are you sure it
> >>> >>>> >> works
> >>> >>>> >> for you
> >>> >>>> >> ?
>
> >>> >>>> >> 2012/5/5 Fabien <
fabr...@gmail.com>:
> >>> >>>> >> > Thank you but I removed all my theme content and I exactly
> >>> >>>> >> > copied/paste your code. There is no effect on the text color of
> >>> >>>> >> > the
> >>> >>>> >> > action bar menu !
>
> >>> >>>> >> > 2012/5/4 Jake Wharton <
jakewhar...@gmail.com>:
> >>> >>>> >> >> That affects ICS only. You should also add a non-android
> >>> >>>> >> >> prefixed
> >>> >>>> >> >> version to
> >>> >>>> >> >> apply it to pre-ICS.
>
> >>> >>>> >> >> <style name="KTTheme" parent="Theme.Sherlock.Light">
> >>> >>>> >> >> <item
> >>> >>>> >> >> name="android:actionMenuTextColor">@color/red</item>
> >>> >>>> >> >> <item name="actionMenuTextColor">@color/red</item>
> >>> >>>> >> >> </style>
>
> >>> >>>> >> >> ---
> >>> >>>> >> >> Jake Wharton
> >>> >>>> >> >>
http://about.me/jakewharton
>
> >>> >>>> >> >> On Fri, May 4, 2012 at 11:52 AM, Fabien <
fabr...@gmail.com>
> >>> >>>> >> >> wrote:
>
> >>> >>>> >> >>> Thank you but it does not work for me :
> >>> >>>> >> >>> <style name="KTTheme" parent="Theme.Sherlock.Light">
> >>> >>>> >> >>> <item
> >>> >>>> >> >>> name="android:actionMenuTextColor">@color/red</item>
> >>> >>>> >> >>> </style>
>
> >>> >>>> >> >>> 2012/5/3 Paul <
zum...@gmail.com>:
> >>> >>>> >> >>> > Theme.Sherlock.Light
>
> >>> >> On Tuesday, May 22, 2012 4:25:59 PM UTC+2, Tim wrote:
>
> >>> >>> I'm seeing this issue too, has it been accepted as a bug?
>
> >>> >>> On Sunday, May 20, 2012 2:39:57 PM UTC+1, Fab wrote:
>
> >>> >>>> Jake, are you able to reproduce this bug ?
>
> >>> >>>> 2012/5/14 Mike Carter <
carter.m...@me.com>:
> >>> >>>> > I can confirm this. Seems like ABS doesn't honor either of the
> >>> >>>> > following:
>
> >>> >>>> > <item
>
> >>> >>>> > name="actionMenuTextAppearance">@style/TextAppearance.MyTheme.Widget.ActionBar.Menu</item>
>
> >>> >>>> > <item name="actionMenuTextColor">@color/my_color</item>
>
> >>> >>>> > <item name="android:actionMenuTextAppearance">@style/TextAppearance.MyTheme.Widget.ActionBar.Menu</item>
>
> >>> >>>> > <item name="android:actionMenuTextColor">@color/my_color</item>
>
> >>> >>>> > On Tuesday, May 8, 2012 5:50:08 PM UTC-4, Fab wrote:
>
> >>> >>>> >> Do you know why I've no text color changed ? Are you sure it
> >>> >>>> >> works
> >>> >>>> >> for you
> >>> >>>> >> ?
>
> >>> >>>> >> 2012/5/5 Fabien <
fabr...@gmail.com>:
> >>> >>>> >> > Thank you but I removed all my theme content and I exactly
> >>> >>>> >> > copied/paste your code. There is no effect on the text color of
> >>> >>>> >> > the
> >>> >>>> >> > action bar menu !
>
> >>> >>>> >> > 2012/5/4 Jake Wharton <
jakewhar...@gmail.com>:
> >>> >>>> >> >> That affects ICS only. You should also add a non-android
> >>> >>>> >> >> prefixed
> >>> >>>> >> >> version to
> >>> >>>> >> >> apply it to pre-ICS.
>
> >>> >>>> >> >> <style name="KTTheme" parent="Theme.Sherlock.Light">
> >>> >>>> >> >> <item
> >>> >>>> >> >> name="android:actionMenuTextColor">@color/red</item>
> >>> >>>> >> >> <item name="actionMenuTextColor">@color/red</item>
> >>> >>>> >> >> </style>
>
> >>> >>>> >> >> ---
> >>> >>>> >> >> Jake Wharton
> >>> >>>> >> >>
http://about.me/jakewharton
>
> >>> >>>> >> >> On Fri, May 4, 2012 at 11:52 AM, Fabien <
fabr...@gmail.com>