2019-09-19 15:41:26 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-04-12 15:45:20 +00:00
|
|
|
<eu.faircode.email.ScrollViewEx xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-09-19 15:41:26 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/scroll"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:padding="12dp"
|
|
|
|
android:scrollbarStyle="outsideOverlay"
|
2019-12-03 07:45:26 +00:00
|
|
|
tools:context="eu.faircode.email.ActivitySetup">
|
2019-09-19 15:41:26 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-04-13 16:44:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:descendantFocusability="beforeDescendants"
|
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true">
|
2019-09-19 15:41:26 +00:00
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-20 10:44:02 +00:00
|
|
|
android:id="@+id/tvPopSupport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_pop_support"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic|bold"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvHost"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_host"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-09-20 10:44:02 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvPopSupport" />
|
2019-09-19 15:41:26 +00:00
|
|
|
|
2020-03-18 07:38:04 +00:00
|
|
|
<eu.faircode.email.EditTextPlain
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/etHost"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="pop.domain.tld"
|
|
|
|
android:inputType="textUri"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHost" />
|
|
|
|
|
|
|
|
<!-- SSL/STARTTLS -->
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:id="@+id/rgEncryption"
|
2019-09-26 16:58:38 +00:00
|
|
|
android:layout_width="0dp"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:orientation="horizontal"
|
2019-09-26 16:58:38 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-09-19 15:41:26 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etHost">
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/radio_ssl"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_ssl" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/radio_starttls"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:text="@string/title_starttls" />
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbInsecure"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_allow_insecure"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/rgEncryption" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-10-03 09:39:14 +00:00
|
|
|
android:id="@+id/tvInsecureRemark"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:text="@string/title_insecure_remark"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbInsecure" />
|
|
|
|
|
2019-09-19 15:41:26 +00:00
|
|
|
<!-- port -->
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvPort"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_port"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-10-03 09:39:14 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvInsecureRemark" />
|
2019-09-19 15:41:26 +00:00
|
|
|
|
2020-03-18 07:38:04 +00:00
|
|
|
<eu.faircode.email.EditTextPlain
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/etPort"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="995"
|
|
|
|
android:inputType="number"
|
2019-11-18 18:10:35 +00:00
|
|
|
android:maxLength="5"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvPort" />
|
|
|
|
|
|
|
|
<!-- user -->
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvUser"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:labelFor="@+id/etUser"
|
|
|
|
android:text="@string/title_user"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etPort" />
|
|
|
|
|
2020-03-18 07:38:04 +00:00
|
|
|
<eu.faircode.email.EditTextPlain
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/etUser"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:autofillHints="username"
|
|
|
|
android:inputType="text"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvUser" />
|
|
|
|
|
|
|
|
<!-- password -->
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvPassword"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_password"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etUser" />
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/tilPassword"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvPassword"
|
|
|
|
app:passwordToggleEnabled="true">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:autofillHints="password"
|
|
|
|
android:inputType="textPassword"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2020-01-08 12:21:53 +00:00
|
|
|
android:id="@+id/tvCharacters"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_setup_password_chars"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tilPassword" />
|
|
|
|
|
2019-09-19 15:41:26 +00:00
|
|
|
<!-- name -->
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_account_name"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-01-08 12:21:53 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCharacters" />
|
2019-09-19 15:41:26 +00:00
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvNameRemark"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:text="@string/title_account_name_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvName" />
|
|
|
|
|
2020-03-18 07:38:04 +00:00
|
|
|
<eu.faircode.email.EditTextPlain
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/etName"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/title_optional"
|
|
|
|
android:inputType="textCapSentences|textAutoCorrect"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvNameRemark" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvColor"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_color"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etName" />
|
|
|
|
|
2019-10-01 08:13:22 +00:00
|
|
|
<eu.faircode.email.ViewButtonColor
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/btnColor"
|
2020-03-18 20:09:16 +00:00
|
|
|
style="?android:attr/buttonStyleSmall"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-29 12:45:00 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:tag="disable"
|
|
|
|
android:text="@string/title_select"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvColor" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvColorHint"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-29 12:45:00 +00:00
|
|
|
android:layout_marginTop="6dp"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:text="@string/title_identity_color_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnColor" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvColorPro"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:text="@string/title_pro_feature"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorLink"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvColorHint" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbSynchronize"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_enabled"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvColorPro" />
|
|
|
|
|
2019-12-10 15:51:21 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbOnDemand"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_account_ondemand"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbSynchronize" />
|
|
|
|
|
2019-09-19 15:41:26 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbPrimary"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_primary_account"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-12-10 15:51:21 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbOnDemand" />
|
2019-09-19 15:41:26 +00:00
|
|
|
|
2020-02-09 08:40:52 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbNotify"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_account_notify"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbPrimary" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2020-02-09 08:40:52 +00:00
|
|
|
android:id="@+id/tvNotifyPro"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:text="@string/title_pro_feature"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorLink"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbNotify" />
|
|
|
|
|
2019-09-25 11:26:56 +00:00
|
|
|
<CheckBox
|
2020-01-21 14:15:48 +00:00
|
|
|
android:id="@+id/cbLeaveServer"
|
2019-09-25 11:26:56 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_leave_on_server"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-02-09 08:40:52 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvNotifyPro" />
|
2019-09-25 11:26:56 +00:00
|
|
|
|
2020-03-24 07:43:31 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbLeaveDeleted"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_leave_deleted"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbLeaveServer" />
|
|
|
|
|
2020-01-21 14:15:48 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbLeaveDevice"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_leave_on_device"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-03-24 07:43:31 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbLeaveDeleted" />
|
2020-01-21 14:15:48 +00:00
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2020-02-26 12:16:09 +00:00
|
|
|
android:id="@+id/tvMax"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:labelFor="@+id/etMax"
|
|
|
|
android:text="@string/title_max_messages"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbLeaveDevice" />
|
|
|
|
|
2020-03-18 07:38:04 +00:00
|
|
|
<eu.faircode.email.EditTextPlain
|
2020-02-26 12:16:09 +00:00
|
|
|
android:id="@+id/etMax"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="number"
|
|
|
|
android:maxLength="9"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvMax" />
|
|
|
|
|
2019-09-19 15:41:26 +00:00
|
|
|
<!-- keep alive -->
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvInterval"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_keep_alive_interval"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2020-02-26 12:16:09 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/etMax" />
|
2019-09-19 15:41:26 +00:00
|
|
|
|
2020-03-18 07:38:04 +00:00
|
|
|
<eu.faircode.email.EditTextPlain
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/etInterval"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="number"
|
2019-11-18 18:10:35 +00:00
|
|
|
android:maxLength="9"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvInterval" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-09-19 15:41:26 +00:00
|
|
|
android:id="@+id/tvIntervalRemark"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_account_interval_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etInterval" />
|
|
|
|
|
|
|
|
<!-- save -->
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnSave"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:tag="disable"
|
|
|
|
android:text="@string/title_save"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvIntervalRemark" />
|
|
|
|
|
|
|
|
<eu.faircode.email.ContentLoadingProgressBar
|
|
|
|
android:id="@+id/pbSave"
|
|
|
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:indeterminate="true"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/btnSave"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/btnSave"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/btnSave" />
|
|
|
|
|
2020-02-28 16:34:43 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-11-15 08:33:43 +00:00
|
|
|
android:id="@+id/tvErrorTitle"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
2019-11-15 08:33:43 +00:00
|
|
|
android:text="@string/title_setup_error"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnSave" />
|
|
|
|
|
2020-02-14 14:56:27 +00:00
|
|
|
<eu.faircode.email.FixedTextView
|
2019-11-15 08:33:43 +00:00
|
|
|
android:id="@+id/tvError"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:autoLink="web"
|
2019-11-15 08:33:43 +00:00
|
|
|
android:text="error message"
|
2019-09-19 15:41:26 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-11-15 08:33:43 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvErrorTitle" />
|
2019-09-19 15:41:26 +00:00
|
|
|
|
|
|
|
<eu.faircode.email.ContentLoadingProgressBar
|
|
|
|
android:id="@+id/pbWait"
|
|
|
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:indeterminate="true"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2019-11-15 08:33:43 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpError"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvErrorTitle,tvError" />
|
2019-09-19 15:41:26 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-04-12 15:45:20 +00:00
|
|
|
</eu.faircode.email.ScrollViewEx>
|