choiceMode & focusableInTouchMode & focusable

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

choiceMode & focusableInTouchMode & focusable

Postby gsmd » Wed Feb 18, 2009 7:10 pm

The context:
I want to have a ListView that wouldn't receive focus (e.g. won't
highlight row when user touches it). Yet each row widget has it's own
OnClickListener.
Here's what I specify in layout xml:
--
android:choiceMode="none" android:focusableInTouchMode="false"
android:focusable="false"
--
The ListView still behaves exactly the same.
Could someone plz explain
a) the interrelation between the three
b) what's the right way to create a ListView that doesn't receive
focus?

TIA.
gsmd
Freshman
Freshman
 
Posts: 3
Joined: Fri Dec 19, 2008 3:15 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google Feedfetcher and 5 guests