Reputation: 703
There is ListView
with items which contains TextView
.
When you are touching listview item and hold the finger on it, listview item is highlighted a little.
But if textview contains just a few letters - not all row is highlighted.
Is any simple solution (some xml property, etc) to highlight whole row?
Upvotes: 0
Views: 114
Reputation: 2671
you try to make listview width android:layout_width="fill_parent" .And also if u are using custom adapter for (images and text) -make layout width size-fill parent or match parent
Upvotes: 1
Reputation: 1332
Hi Set This Code In Your Xml Of ListView
=================================
<ListView android:id="@+id/list1"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
Upvotes: 1
Reputation: 19
Set android:layout_width attribute of parent Layout tag to fill_Parent for in xml for Listview.
Upvotes: 0