[android-developers] help with ColorStateList
i've got a layout for a List row entry as:
(i've removed extraneous code)
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:background="@color/child_row_color">
...
</LinearLayout>
in the res/color folder, i've got a a file child_row_color.xml
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#0f0"/>
</selector>
every time, i try to display the List child row - it craps out in
a android inflator code.
help!
--
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