Friday, November 25, 2011

[android-developers] Notification status bar custom layout, guide lines are wrong?!? (primary color)

I was following this guide lines:

http://developer.android.com/guide/topics/ui/notifiers/notifications.html#CustomExpandedView


which states:


"[...] to use the standard text colors on versions of Android lower than
2.3, you should use the following styles for res/values/styles.xml:"

<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="NotificationText">
<item name="android:textColor">?android:attr/textColorPrimary</item>
</style>
<style name="NotificationTitle">
<item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:textStyle">bold</item>
</style>
<!-- If you want a slightly different color for some text,
consider using ?android:attr/textColorSecondary -->
</resources>


Which produce a White color on a light gray background on the Android
2.1 and Android 2.2 emulator... It's obviously very hard to read...

Should I ignore this guide lines?

anyone sharing experiences about this?


ps: The secondary color is fine, but I need the primary too...

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