Michael J McLean wrote: > I tried you suggestion but got an error message. > > So I tried > > myListView.setSelection(1); > > No error message but it doesn't work
Yes, it works. When users use their touchscreens, there is no notion of "selection", only item clicks. Hence, in touch mode, setSelection() will have no visible impact. Only if the user had been using the D-pad/trackball/whatever immediately prior to setSelection() will the orange selection bar appear, because then the user is not in touch mode, and the selection bar indicates which row will be clicked if the user presses the center button on the D-pad. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in US: 22-26 February 2010: http://onlc.com -- 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

