• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Full-width list items?

KlaymenDK

Android Expert
May 29, 2009
1,217
130
Denmark
Hi,
I'm having one spot of trouble with the "Notepad" sample project: To select an item (for opening, or long-press menu access), the user needs to press not just the line of the list item, but the part of the line that has text in it -- this is a little tricky on the items with short names, and I have no idea how it would work on items with no (gasp) name.

In any case, I'd like to enable full-width selection, but setting android:layout_width="fill_parent" in every pertinent xml object does not seem to address selection.

Is this just my system, or a general thing?
What to do? :thinking:
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones