Monday, December 27, 2010

[android-developers] Listview selector no more color

I just want the selector to be as default, when I select an item I see
color change. But when I change my xml the selector is no longer
working. Why is this so?
---
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/background"
android:padding="10sp">

>
<TextView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:singleLine="true"
android:textAppearance="?android:attr/textColor"
android:gravity="center_vertical|left">
</TextView>
</LinearLayout>
---

Many thanks,
CJ

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