FairEmail/app/src/main/res/layout/dialog_password.xml

58 lines
2.6 KiB
XML
Raw Normal View History

2018-11-14 18:58:01 +00:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
2019-09-28 07:35:42 +00:00
android:padding="24dp">
2018-11-14 18:58:01 +00:00
2018-12-31 07:42:53 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilPassword1"
2019-09-26 16:58:38 +00:00
android:layout_width="0dp"
2018-11-14 18:58:01 +00:00
android:layout_height="wrap_content"
2019-09-26 16:58:38 +00:00
app:layout_constraintEnd_toEndOf="parent"
2018-11-14 18:58:01 +00:00
app:layout_constraintStart_toStartOf="parent"
2018-12-31 07:42:53 +00:00
app:layout_constraintTop_toTopOf="parent"
app:passwordToggleEnabled="true">
2018-11-14 18:58:01 +00:00
2018-12-31 07:42:53 +00:00
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autofillHints="password"
android:hint="@string/title_setup_password"
android:imeOptions="actionNext"
2018-12-31 07:42:53 +00:00
android:inputType="textPassword"
2019-07-01 13:55:15 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Medium">
<requestFocus />
</com.google.android.material.textfield.TextInputEditText>
2018-12-31 07:42:53 +00:00
</com.google.android.material.textfield.TextInputLayout>
2018-11-14 18:58:01 +00:00
2018-12-31 07:42:53 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilPassword2"
2019-09-26 16:58:38 +00:00
android:layout_width="0dp"
2018-11-14 18:58:01 +00:00
android:layout_height="wrap_content"
2019-09-26 16:58:38 +00:00
app:layout_constraintEnd_toEndOf="parent"
2018-11-14 18:58:01 +00:00
app:layout_constraintStart_toStartOf="parent"
2018-12-31 07:42:53 +00:00
app:layout_constraintTop_toBottomOf="@id/tilPassword1"
app:passwordToggleEnabled="true">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autofillHints="password"
android:hint="@string/title_setup_password_repeat"
android:imeOptions="actionDone"
2018-12-31 07:42:53 +00:00
android:inputType="textPassword"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
</com.google.android.material.textfield.TextInputLayout>
2020-03-21 07:56:52 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvImportHint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_setup_import_do"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintStart_toStartOf="parent"
2020-07-02 16:52:45 +00:00
app:layout_constraintTop_toBottomOf="@id/tilPassword2" />
2018-11-14 18:58:01 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>