Friday, December 30, 2011

[android-developers] Notification Background Color (ICS)

We have a custom notification that uses a linear layout through a
RemoteView. On Android 4.0 (Ice Cream Sandwich) the background color
of our notification is an ugly gray. The problem is that this isn't
the theme black background that the rest of the notifications have.
Is there a way to access this color through a style or some other
snippet of code to set our notification background to that color?

Note, we've run into issues before with background colors, but they
were easily fixed by using styles
TextAppearance.StatusBar.EventContent and
TextAppearance.StatusBar.EventContent.Title. In this case it appears
to be a background problem, not a text problem. The background
doesn't appear to follow the theme at all; in fact using the above
styles give a gray text color that is really close to the gray
background color, making them hard to see.

Thanks,
Brad

--
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