Re: [android-developers] Confused about how focus works

2010-01-21 Thread Romain Guy
It's easy: don't use focusableInTouchMode. Especially since ListView already is focusable in touch mode. On Thu, Jan 21, 2010 at 2:31 PM, Mark Nuetzmann wrote: > I am completely confused as to how the focusable and > focusableInTouchMode are supposed to work.  If I set > focusableInTouchMode="tru

[android-developers] Confused about how focus works

2010-01-21 Thread Mark Nuetzmann
I am completely confused as to how the focusable and focusableInTouchMode are supposed to work. If I set focusableInTouchMode="true" for the items in my ListView the ItemClickListener is never called. Why? I have the selector for the ListView set as a rect shape filled with a solid color. As I