Using java Syntax Highlighting
- setListAdapter(new ArrayAdapter<String>(this,
- android.R.layout.simple_list_item_1, SPORTS));
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
I use the above code to just display a simple list. SPORTS is a simple String array.
But the problem is that users can only select by clicking on the actual text, not that line of text. Plus when they select it only the text part of the line is highlighted, not the entire line (see pic).
How can I get it so that users can select an item by tapping anywhere on the line, rather than on the text itself. I presume in the process this will fix the problem of only the text being highlighted as well.



