mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
fix list item breakage: no inputType for TextView
I'd added inputType="text" everywhere I added maxLines="1" but it turns out that breaks touches being handled at least on some devices. And it makes no sense to have an inputType for something user can't put into.
This commit is contained in:
parent
058d3a7828
commit
ae25c6e014
5 changed files with 0 additions and 9 deletions
|
@ -6,14 +6,12 @@
|
|||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:layout_marginRight="8dp"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
/>
|
||||
<TextView android:id="@+id/chat_row_name"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:layout_marginRight="8dp"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
/>
|
||||
<TextView android:id="@+id/chat_row_text"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
@ -79,7 +79,6 @@
|
|||
android:gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
/>
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
android:layout_weight="1"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
/>
|
||||
|
||||
<TextView android:id="@+id/text_item2"
|
||||
|
@ -41,7 +40,6 @@
|
|||
android:layout_weight="1"
|
||||
android:gravity="right"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
|
||||
|
|
|
@ -10,12 +10,10 @@
|
|||
<TextView android:id="@+id/english_view"
|
||||
style="@style/evenly_spaced_horizontal"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
/>
|
||||
<TextView android:id="@+id/xlated_view"
|
||||
style="@style/evenly_spaced_horizontal"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
/>
|
||||
|
||||
</org.eehouse.android.xw4.loc.LocListItem>
|
||||
|
|
|
@ -10,14 +10,12 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
android:gravity="left"
|
||||
/>
|
||||
<TextView android:id="@+id/item_score"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:inputType="text"
|
||||
android:gravity="right"
|
||||
/>
|
||||
</org.eehouse.android.xw4.ExpiringLinearLayout>
|
||||
|
|
Loading…
Reference in a new issue