How can I make a ListView touch-sensitive in its full width for clicking an item?

Posted by Lars D on Stack Overflow See other posts from Stack Overflow or by Lars D
Published on 2010-04-09T18:53:12Z Indexed on 2010/04/09 19:13 UTC
Read the original article Hit count: 291

Filed under:
|

I have a ListView in a ListActivity populated with strings. However, only the text-part of a list item is clickable, and when it is clicked, only the text-part is highlighted (orange on black background). I would like to make the full line clickable, and when selected, the full line should be marked as selected.

How can I do that?

© Stack Overflow or respective owner

Related posts about android

Related posts about java