remove/replace deprecated singleLine element

This commit is contained in:
Eric House 2017-09-02 12:05:58 -07:00
parent a10dd6a314
commit 2616891608
13 changed files with 18 additions and 19 deletions

View file

@ -30,7 +30,6 @@
<EditText android:id="@+id/chat_edit"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="false"
android:inputType="textCapSentences|textMultiLine"
android:layout_weight="1"
android:scrollHorizontally="false"

View file

@ -12,7 +12,7 @@
android:layout_marginRight="30dip"
android:autoText="false"
android:capitalize="words"
android:singleLine="true"
android:maxLines="1"
android:selectAllOnFocus="true"
android:textAppearance="?android:attr/textAppearanceMedium"
/>

View file

@ -26,7 +26,7 @@
<EditText android:id="@+id/word_edit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:maxLines="1"
android:layout_weight="1"
android:hint="@string/word_search_hint"
android:capitalize="characters"

View file

@ -140,7 +140,7 @@
android:scrollHorizontally="false"
android:autoText="false"
android:capitalize="none"
android:singleLine="true"
android:maxLines="1"
android:selectAllOnFocus="true"
android:windowSoftInputMode="stateHidden"
android:maxLength="31"

View file

@ -66,7 +66,7 @@
android:layout_height="wrap_content"
android:gravity="center"
android:layout_weight="1"
android:singleLine="true"
android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceMedium"
/>

View file

@ -19,7 +19,7 @@
android:layout_marginLeft="30dip"
android:layout_marginRight="30dip"
android:autoText="false"
android:singleLine="true"
android:maxLines="1"
android:selectAllOnFocus="true"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
@ -37,7 +37,7 @@
android:layout_marginLeft="30dip"
android:layout_marginRight="30dip"
android:autoText="false"
android:singleLine="true"
android:maxLines="1"
android:selectAllOnFocus="true"
android:textAppearance="?android:attr/textAppearanceMedium"
/>

View file

@ -19,7 +19,7 @@
android:layout_marginLeft="30dip"
android:layout_marginRight="30dip"
android:autoText="false"
android:singleLine="true"
android:maxLines="1"
android:selectAllOnFocus="true"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
@ -37,7 +37,7 @@
android:layout_marginLeft="30dip"
android:layout_marginRight="30dip"
android:autoText="false"
android:singleLine="true"
android:maxLines="1"
android:selectAllOnFocus="true"
android:textAppearance="?android:attr/textAppearanceMedium"
/>

View file

@ -31,7 +31,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:maxLines="1"
/>
<TextView android:id="@+id/text_item2"
@ -39,7 +39,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="right"
android:singleLine="true"
android:maxLines="1"
android:visibility="gone"
/>

View file

@ -9,11 +9,11 @@
<TextView android:id="@+id/english_view"
style="@style/evenly_spaced_horizontal"
android:singleLine="true"
android:maxLines="1"
/>
<TextView android:id="@+id/xlated_view"
style="@style/evenly_spaced_horizontal"
android:singleLine="true"
android:maxLines="1"
/>
</org.eehouse.android.xw4.loc.LocListItem>

View file

@ -37,7 +37,7 @@
<EditText android:id="@+id/loc_search_field"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:maxLines="1"
android:layout_weight="1"
/>

View file

@ -55,7 +55,7 @@
android:capitalize="words"
android:selectAllOnFocus="true"
android:gravity="fill_horizontal"
android:singleLine="true"
android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
@ -105,7 +105,7 @@
android:capitalize="none"
android:gravity="fill_horizontal"
android:password="true"
android:singleLine="true"
android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
</LinearLayout>

View file

@ -9,13 +9,13 @@
<TextView android:id="@+id/item_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:maxLines="1"
android:gravity="left"
/>
<TextView android:id="@+id/item_score"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:maxLines="1"
android:gravity="right"
/>
</org.eehouse.android.xw4.ExpiringLinearLayout>

View file

@ -20,7 +20,7 @@
android:layout_marginLeft="30dip"
android:layout_marginRight="30dip"
android:autoText="false"
android:singleLine="true"
android:maxLines="1"
android:selectAllOnFocus="true"
android:textAppearance="?android:attr/textAppearanceMedium"
/>