Skip to content

Commit 8a8580a

Browse files
authored
Replace the deprecated attribute. (google#141)
1 parent b5af204 commit 8a8580a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Diff for: app/src/main/res/layout/fragment_flex_item_edit.xml

+14-14
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ limitations under the License.
4242
android:hint="@string/hint_order"
4343
android:inputType="numberSigned"
4444
android:lines="1"
45-
android:singleLine="true" />
45+
android:maxLines="1" />
4646
</android.support.design.widget.TextInputLayout>
4747

4848
<android.support.design.widget.TextInputLayout
@@ -58,7 +58,7 @@ limitations under the License.
5858
android:hint="@string/hint_flex_grow"
5959
android:inputType="numberDecimal"
6060
android:lines="1"
61-
android:singleLine="true" />
61+
android:maxLines="1" />
6262
</android.support.design.widget.TextInputLayout>
6363

6464
<android.support.design.widget.TextInputLayout
@@ -74,7 +74,7 @@ limitations under the License.
7474
android:hint="@string/hint_flex_shrink"
7575
android:inputType="numberDecimal"
7676
android:lines="1"
77-
android:singleLine="true" />
77+
android:maxLines="1" />
7878
</android.support.design.widget.TextInputLayout>
7979

8080
<android.support.design.widget.TextInputLayout
@@ -90,7 +90,7 @@ limitations under the License.
9090
android:hint="@string/hint_flex_basis_percent"
9191
android:inputType="numberSigned"
9292
android:lines="1"
93-
android:singleLine="true" />
93+
android:maxLines="1" />
9494
</android.support.design.widget.TextInputLayout>
9595

9696
<android.support.design.widget.TextInputLayout
@@ -107,7 +107,7 @@ limitations under the License.
107107
android:hint="@string/hint_width"
108108
android:inputType="numberSigned"
109109
android:lines="1"
110-
android:singleLine="true" />
110+
android:maxLines="1" />
111111
</android.support.design.widget.TextInputLayout>
112112

113113
<android.support.design.widget.TextInputLayout
@@ -123,7 +123,7 @@ limitations under the License.
123123
android:hint="@string/hint_height"
124124
android:inputType="numberSigned"
125125
android:lines="1"
126-
android:singleLine="true" />
126+
android:maxLines="1" />
127127
</android.support.design.widget.TextInputLayout>
128128

129129
<android.support.design.widget.TextInputLayout
@@ -138,9 +138,9 @@ limitations under the License.
138138
android:layout_width="match_parent"
139139
android:layout_height="wrap_content"
140140
android:lines="1"
141-
android:singleLine="true"
142141
android:inputType="number"
143-
android:hint="@string/hint_min_width" />
142+
android:hint="@string/hint_min_width"
143+
android:maxLines="1" />
144144
</android.support.design.widget.TextInputLayout>
145145

146146
<android.support.design.widget.TextInputLayout
@@ -154,9 +154,9 @@ limitations under the License.
154154
android:layout_width="match_parent"
155155
android:layout_height="wrap_content"
156156
android:lines="1"
157-
android:singleLine="true"
158157
android:inputType="number"
159-
android:hint="@string/hint_min_height" />
158+
android:hint="@string/hint_min_height"
159+
android:maxLines="1" />
160160
</android.support.design.widget.TextInputLayout>
161161

162162
<android.support.design.widget.TextInputLayout
@@ -170,9 +170,9 @@ limitations under the License.
170170
android:layout_width="match_parent"
171171
android:layout_height="wrap_content"
172172
android:lines="1"
173-
android:singleLine="true"
174173
android:inputType="number"
175-
android:hint="@string/hint_max_width" />
174+
android:hint="@string/hint_max_width"
175+
android:maxLines="1" />
176176
</android.support.design.widget.TextInputLayout>
177177

178178
<android.support.design.widget.TextInputLayout
@@ -186,9 +186,9 @@ limitations under the License.
186186
android:layout_width="match_parent"
187187
android:layout_height="wrap_content"
188188
android:lines="1"
189-
android:singleLine="true"
190189
android:inputType="number"
191-
android:hint="@string/hint_max_height" />
190+
android:hint="@string/hint_max_height"
191+
android:maxLines="1" />
192192
</android.support.design.widget.TextInputLayout>
193193

194194
<CheckBox

0 commit comments

Comments
 (0)