Tuesday, March 15, 2011

[android-developers] how to get focus(selection) to listactivity?

hi,

i am using listactivity to diaplay list.and here is my xml code for
listview.
<ListView
android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:divider="@color/grey"
android:dividerHeight="1px"
android:drawSelectorOnTop="true"
android:listSelector = "@drawable/list_pressed"/>

i am not getting focus anyway. list_pressed is my selector xml.


thankx.

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