50 lines
1.7 KiB
XML
50 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<EditText
|
|
android:id="@+id/etNewPin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="26dp"
|
|
android:hint="@string/new_pin"
|
|
android:inputType="numberPassword" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvNewPinError"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/red"
|
|
android:layout_below="@+id/etNewPin"/>
|
|
|
|
<EditText
|
|
android:id="@+id/etConfirmPin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/tvNewPinError"
|
|
android:layout_marginTop="16dp"
|
|
android:hint="@string/confirm_pin"
|
|
android:inputType="numberPassword" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvConfirmPinError"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/red"
|
|
android:layout_below="@+id/etConfirmPin" />
|
|
|
|
<Button
|
|
android:id="@+id/btnOK"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/WhiteButton"
|
|
android:text="@string/ok"
|
|
android:layout_below="@+id/etConfirmPin"
|
|
android:layout_marginTop="5dp"
|
|
android:textColor="@color/black"
|
|
android:layout_centerHorizontal="true"/>
|
|
|
|
</RelativeLayout> |