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

109 lines
4.9 KiB
XML
Raw Normal View History

2018-11-14 18:58:01 +00:00
<?xml version="1.0" encoding="utf-8"?>
2021-02-26 13:49:39 +00:00
<eu.faircode.email.ScrollViewEx xmlns:android="http://schemas.android.com/apk/res/android"
2018-11-14 18:58:01 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-02-26 13:49:39 +00:00
android:padding="24dp"
android:scrollbarStyle="outsideOverlay">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<eu.faircode.email.FixedTextView
android:id="@+id/tvCaption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2021-07-25 19:20:26 +00:00
android:text="@string/title_setup_import"
2021-02-26 13:49:39 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Large"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2021-07-08 06:58:19 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvEncrypted"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="@string/title_setup_export_remark"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
2021-07-22 05:18:33 +00:00
android:textStyle="italic"
2021-07-08 06:58:19 +00:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvCaption" />
2021-02-26 13:49:39 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilPassword1"
android:layout_width="0dp"
android:layout_height="wrap_content"
2021-07-08 06:58:19 +00:00
android:layout_marginTop="12dp"
2021-02-26 13:49:39 +00:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2021-07-08 06:58:19 +00:00
app:layout_constraintTop_toBottomOf="@+id/tvEncrypted"
2021-02-26 13:49:39 +00:00
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"
android:imeOptions="actionNext"
android:inputType="textPassword"
android:textAppearance="@style/TextAppearance.AppCompat.Medium">
<requestFocus />
</com.google.android.material.textfield.TextInputEditText>
</com.google.android.material.textfield.TextInputLayout>
2021-07-25 20:05:23 +00:00
<CheckBox
android:id="@+id/cbAccounts"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_setup_import_accounts"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tilPassword1" />
2021-02-26 13:49:39 +00:00
<eu.faircode.email.FixedTextView
android:id="@+id/tvImportHint"
android:layout_width="wrap_content"
2018-12-31 07:42:53 +00:00
android:layout_height="wrap_content"
2021-07-25 20:05:23 +00:00
android:layout_marginTop="6dp"
2021-02-26 13:49:39 +00:00
android:text="@string/title_setup_import_do"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
2021-07-08 06:58:19 +00:00
android:textColor="?attr/colorWarning"
2021-07-22 05:18:33 +00:00
android:textStyle="italic"
2021-02-26 13:49:39 +00:00
app:layout_constraintStart_toStartOf="parent"
2021-07-25 20:05:23 +00:00
app:layout_constraintTop_toBottomOf="@id/cbAccounts" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvImportGmail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2021-07-25 20:05:23 +00:00
android:layout_marginTop="6dp"
android:text="@string/title_setup_import_gmail"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvImportHint" />
2021-07-25 20:05:23 +00:00
<CheckBox
android:id="@+id/cbAnswers"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_setup_import_answers"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvImportGmail" />
<CheckBox
android:id="@+id/cbSettings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:checked="true"
android:text="@string/title_setup_import_settings"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbAnswers" />
2021-02-26 13:49:39 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
</eu.faircode.email.ScrollViewEx>