2020-01-30 16:23:29 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-02-07 20:37:35 -05:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-30 16:23:29 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-02-07 20:37:35 -05:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-01-30 16:23:29 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-02-07 20:37:35 -05:00
|
|
|
android:padding="20dp">
|
2020-01-30 16:23:29 -04:00
|
|
|
|
2020-02-07 20:37:35 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/pin_reminder_title"
|
|
|
|
android:layout_width="0dp"
|
2020-01-30 16:23:29 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
2020-02-07 20:37:35 -05:00
|
|
|
android:text="@string/KbsReminderDialog__enter_your_signal_pin"
|
|
|
|
style="@style/Signal.Text.Body"
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
2020-01-30 16:23:29 -04:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/pin_wrapper"
|
2020-02-07 20:37:35 -05:00
|
|
|
android:layout_width="0dp"
|
2020-01-30 16:23:29 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="80dp"
|
|
|
|
android:paddingTop="40dp"
|
2020-02-07 20:37:35 -05:00
|
|
|
android:paddingEnd="80dp"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/pin_reminder_title"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent">
|
2020-01-30 16:23:29 -04:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/pin"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textColor="?attr/registration_lock_reminder_view_pin_text_color" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/reminder"
|
2020-02-07 20:37:35 -05:00
|
|
|
android:layout_width="0dp"
|
2020-01-30 16:23:29 -04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:lineSpacingMultiplier="1.3"
|
|
|
|
android:paddingTop="40dp"
|
|
|
|
android:paddingBottom="40dp"
|
2020-02-07 20:37:35 -05:00
|
|
|
style="@style/Signal.Text.Preview"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/pin_wrapper"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-01-30 16:23:29 -04:00
|
|
|
tools:text="@string/KbsReminderDialog__to_help_you_memorize_your_pin" />
|
|
|
|
|
2020-02-07 20:37:35 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/skip"
|
|
|
|
style="@style/Button.Borderless"
|
|
|
|
android:layout_width="wrap_content"
|
2020-01-30 16:23:29 -04:00
|
|
|
android:layout_height="wrap_content"
|
2020-02-07 20:37:35 -05:00
|
|
|
android:text="@string/KbsReminderDialog__skip"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/submit"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/submit"/>
|
2020-01-30 16:23:29 -04:00
|
|
|
|
2020-02-07 20:37:35 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/submit"
|
|
|
|
style="@style/Button.Primary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/KbsReminderDialog__submit"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/reminder"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
2020-01-30 16:23:29 -04:00
|
|
|
|
2020-02-07 20:37:35 -05:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|