Limit the PIN max length

feat_androidx_migration
dtvv 2018-10-17 00:34:24 -05:00
parent 95bdc725c0
commit d2668bc04e
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@
android:id="@+id/etPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLength="10"
android:textColor="@color/white"
android:inputType="numberPassword" />
</LinearLayout>

View File

@ -10,6 +10,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="26dp"
android:maxLength="10"
android:hint="@string/new_pin"
android:inputType="numberPassword" />
@ -24,6 +25,7 @@
android:id="@+id/etConfirmPin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLength="10"
android:layout_below="@+id/tvNewPinError"
android:layout_marginTop="16dp"
android:hint="@string/confirm_pin"