I made my simple, custom rows and listviews. Right now, only clicking
on the text of the row is valid selection area. I want the entire
row, even the no-text area to be selectable. Where do I modify? Am I
looking for focusing or selecting?
My row xml:
-------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<TextView android:id="@+id/text1" xmlns:android="http://
schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="36px"
android:gravity="center_vertical"
android:lines = "1"
android:typeface = "normal"
android:textStyle = ""
android:textSize = "18px"
android:paddingLeft = "7px"
/>
My listview xml:
-------------------------------------------------------------------------------------------------
<ListView android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1.0"/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---