1

I'm writing an app the need to push a 3 line notification in older versions of Android so I'm using a remote view. The problem I'm having is that the text in the remote view is black, which is OK for Gingerbread, but in ICS and JellyBean the notification bar is black so the text isn't visible. Any ideas how I can have the text visible no matter what the system notification background color is? Should I just have an image as my own background?

Thank you

Shmuel
  • 3,916
  • 2
  • 27
  • 45
  • possible duplicate of [Custom notification layouts and text colors](http://stackoverflow.com/questions/4867338/custom-notification-layouts-and-text-colors) – tachyonflux Feb 10 '15 at 23:59

1 Answers1

0

You should use @android:style/TextAppearance.StatusBar.EventContent.Title for notif title and @android:style/TextAppearance.StatusBar.EventContent" for notif text instead of using your own color. These styles require API level 9.

Wayne
  • 6,361
  • 10
  • 46
  • 69