Wednesday, June 29, 2011

[android-developers] Notification Default Text Color

Hi,

I am trying to set the notification to default text color.

As per the sample xml file
http://developer.android.com/resources/samples/HoneycombGallery/res/layout/notification.html

I tried to use style="@android:style/
TextAppearance.StatusBar.EventContent" and style="@android:style/
TextAppearance.StatusBar.EventContent.Title"

I am getting error as below
error: Error: No resource found that matches the given name (at
'style' with value '@android:style/
TextAppearance.StatusBar.EventContent').
error: Error: No resource found that matches the given name (at
'style' with value '@android:style/
TextAppearance.StatusBar.EventContent.Title').

I am using Android SDK 2.3 as suggested.

Please tell me what I am missing here...

Any help is appreciated.

Thanks

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

No comments:

Post a Comment