There is no "focus" (i.e., selection) unless the user uses the D-pad, trackball, or similar sort of pointing device. When using a touchscreen, there is no selector, except briefly when the user taps an item in the list.
On Tue, Mar 15, 2011 at 7:56 AM, Hitendrasinh Gohil <[email protected]> wrote: > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

