Limit the PIN max length
This commit is contained in:
parent
95bdc725c0
commit
d2668bc04e
2 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
android:id="@+id/etPassword"
|
android:id="@+id/etPassword"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:maxLength="10"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:inputType="numberPassword" />
|
android:inputType="numberPassword" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="26dp"
|
android:layout_marginTop="26dp"
|
||||||
|
android:maxLength="10"
|
||||||
android:hint="@string/new_pin"
|
android:hint="@string/new_pin"
|
||||||
android:inputType="numberPassword" />
|
android:inputType="numberPassword" />
|
||||||
|
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
android:id="@+id/etConfirmPin"
|
android:id="@+id/etConfirmPin"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:maxLength="10"
|
||||||
android:layout_below="@+id/tvNewPinError"
|
android:layout_below="@+id/tvNewPinError"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:hint="@string/confirm_pin"
|
android:hint="@string/confirm_pin"
|
||||||
|
|
Loading…
Reference in a new issue