Skip to content

Commit

Permalink
[Catalog][TextInputLayout] Changed prefix/suffix demo it shows number…
Browse files Browse the repository at this point in the history
… keyboards for the inputs.

PiperOrigin-RevId: 316691745
  • Loading branch information
leticiarossi authored and melaniegoetz committed Jun 17, 2020
1 parent 5febeba commit 3ed776a
Showing 1 changed file with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
app:prefixText="@string/cat_textfield_prefix">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content"
android:inputType="numberDecimal"/>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
Expand All @@ -51,7 +52,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:textAlignment="textEnd"/>
android:textAlignment="textEnd"
android:inputType="numberDecimal"/>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
Expand All @@ -67,7 +69,8 @@
app:prefixText="@string/cat_textfield_prefix">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content"
android:inputType="numberDecimal"/>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
Expand All @@ -85,7 +88,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:textAlignment="textEnd"/>
android:textAlignment="textEnd"
android:inputType="numberDecimal"/>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
Expand All @@ -100,7 +104,8 @@
app:prefixText="@string/cat_textfield_prefix">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content"
android:inputType="numberDecimal"/>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
Expand All @@ -117,7 +122,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:textAlignment="textEnd"/>
android:textAlignment="textEnd"
android:inputType="numberDecimal"/>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
Expand All @@ -133,7 +139,8 @@
app:prefixText="@string/cat_textfield_prefix">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content"
android:inputType="numberDecimal"/>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
Expand All @@ -151,7 +158,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:textAlignment="textEnd"/>
android:textAlignment="textEnd"
android:inputType="numberDecimal"/>
</com.google.android.material.textfield.TextInputLayout>

</LinearLayout>

0 comments on commit 3ed776a

Please sign in to comment.