Daniele Segato <daniele.segato <at> gmail.com> writes: > > On 12/08/2011 09:49 AM, Daniele Segato wrote: > > On 12/06/2011 01:41 PM, kilaka wrote: > >> Does NOT work for me as well. The text is white and looks bad on a > >> bright background. > > > > I ended up using the guidelines for Android 2.3 and greater and set up > > my custom colors for Android 2.2 and lower.. > > > > This is not the first time I found the Android documentation lacking or > > wrong. > > > > But the thing that most annoy me is the fact that lot of bugs are > > completely ignored by Google even if lot of people vote for them. > > But that's OT in this thread. > > I opened a bug, if anyone interested to follow, hopefully google will > give us feedback: > http://code.google.com/p/android/issues/detail?id=22692 >
I've found a very simple solution directly changing the name of the attribute provided by Android. As you can see in this tutorial: http://www.framentos.com/android-tutorial/2012/02/20/how-to-create-a-custom-notification-on-android/ You only need to use a different attribute: <item name="android:textColor">?android:attr/textColorPrimaryInverse</item> Hope this can help you! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

