On Sun, Jun 12, 2011 at 1:04 PM, Scythe <scythe...@gmail.com> wrote: > Thanks, I was looking for this 'activated' state. The methods and > states related to "selecting" elements from the list completely > confused me. It turned out that the in ListView's context, selecting > an element means that the user navigates the focus around in the list > with the d-pad... And yes, I'm using Honeycomb, so my list needs to > stay on screen, and display the previously selected element. > > So currently I'm setting the selected element's view activated, and > assigned a custom selector with a distinct background color for the > activated state for the row's layout.
Yup, that's the ticket. "Activated" and singleChoice is the trick to the Honeycomb "show the tapped-on item in the ListFragment, to provide context for an adjacent fragment". -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en