mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 07:57:30 +00:00
b89c20ff40
We can do this now that our minSdk is 19.
57 lines
2.4 KiB
XML
57 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="16dp"
|
|
android:paddingStart="23dp"
|
|
android:paddingEnd="23dp"
|
|
android:animateLayoutChanges="true">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/registration_lock_dialog_view__the_pin_can_consist_of_four_or_more_digits_if_you_forget_your_pin_you_could_be_locked_out_of_your_account_for_up_to_seven_days"/>
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:layout_marginTop="15dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/pin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="numberPassword"
|
|
android:imeOptions="actionNext"
|
|
android:hint="@string/registration_lock_dialog_view__enter_pin"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:layout_marginTop="15dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/repeat"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="numberPassword"
|
|
android:imeOptions="actionDone"
|
|
android:hint="@string/registration_lock_dialog_view__confirm_pin"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
<ProgressBar android:id="@+id/progress"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible"/>
|
|
|
|
</LinearLayout> |