Mikael Bertlin wrote:
> I have a ListView that I can't get to behave as I like. When I click
> it the first time the item I click won't get selected? It fires the
> onItemClick event but it is not selected on the screen.

If you are using the touchscreen, it is not supposed to "stay selected
on the screen".

> Also I would like the ListView to have a item selected by default, and
> I want the selected item to show as selected when scrolling the
> ListView. Can this be done?

Not on a device with a touchscreen, if the user entered the activity via
the touchscreen.

http://developer.android.com/resources/articles/touch-mode.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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

Reply via email to