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:
Eric House 2017-09-12 07:56:40 -07:00
parent 058d3a7828
commit ae25c6e014
5 changed files with 0 additions and 9 deletions

View file

@ -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"

View file

@ -79,7 +79,6 @@
android:gravity="center"
android:layout_weight="1"
android:maxLines="1"
android:inputType="text"
android:textAppearance="?android:attr/textAppearanceMedium"
/>

View file

@ -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"
/>

View file

@ -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>

View file

@ -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>