Thursday, November 8, 2012

[android-developers] Target SDK and NotificationCompat action color

Using NotificationCompat.Builder.addAction gives me the expected behavior in JellyBean, except that the action button has a grey background which does not look good.

The only way I could solve that was setting the target SDK to 14, but then the menu button (Galaxy Nexus) does not appear (and I have no actionBar). 

The only way I could solve this was set Target SDK to 12. This way I still get the menu and the cool dark background. But why do I have to do that? is this a behaving as expected?

I expect it to still show the menu button when I do not have an ActionBar. No?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate