gaining focus in ListView

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

gaining focus in ListView

Postby Azalar » Sun Feb 22, 2009 2:24 pm

I have a ListView and when I touch an item in the list it flashes orange but the item doesn't gain focus unless I use the trackball.
How can I make the item I selected in the list gain focus?
Azalar
Junior Developer
Junior Developer
 
Posts: 24
Joined: Tue Jan 13, 2009 6:09 pm

Top

Postby MrSnowflake » Sun Feb 22, 2009 3:17 pm

There's a blog post about this very topic.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby Azalar » Sun Feb 22, 2009 3:59 pm

Interesting article, thanks for that.
I tried the focusableInTouchMode thing although they recommend against it too and it seems to be broken anyway.
Looks like choice mode is the way to go.
Azalar
Junior Developer
Junior Developer
 
Posts: 24
Joined: Tue Jan 13, 2009 6:09 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests