2019-05-06 07:10:13 +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"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:context=".ActivitySetup">
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-05-06 07:26:01 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="12dp">
|
2019-05-06 07:10:13 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swEnabled"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_enabled"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvEnabledHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-06 07:26:01 +00:00
|
|
|
android:layout_marginEnd="48dp"
|
2019-05-06 07:10:13 +00:00
|
|
|
android:text="@string/title_advanced_enabled_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swEnabled" />
|
|
|
|
|
2019-05-22 10:24:00 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvManalHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_manual_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvEnabledHint" />
|
|
|
|
|
2019-05-06 13:03:35 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvWhen"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_when"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-05-22 10:24:00 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvManalHint" />
|
2019-05-06 13:03:35 +00:00
|
|
|
|
2019-05-06 07:10:13 +00:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spPollInterval"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-06 14:50:17 +00:00
|
|
|
android:layout_marginTop="12dp"
|
2019-05-06 07:10:13 +00:00
|
|
|
android:entries="@array/pollIntervalNames"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-05-06 13:03:35 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvWhen" />
|
2019-05-06 07:10:13 +00:00
|
|
|
|
2019-06-01 07:25:41 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvPollHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_poll_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/spPollInterval" />
|
|
|
|
|
2019-05-06 07:10:13 +00:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swSchedule"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_advanced_schedule"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-06-01 07:25:41 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvPollHint"
|
2019-05-06 07:10:13 +00:00
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvScheduleStart"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="12dp"
|
|
|
|
android:text="00:00"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swSchedule" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvScheduleSeparator"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="—"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvScheduleStart"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/tvScheduleStart"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvScheduleStart" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvScheduleEnd"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="12dp"
|
|
|
|
android:text="00:00"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/tvScheduleSeparator"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvScheduleStart" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvScheduleHint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-06 07:26:01 +00:00
|
|
|
android:layout_marginEnd="48dp"
|
2019-05-06 07:10:13 +00:00
|
|
|
android:text="@string/title_advanced_schedule_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvScheduleStart" />
|
2019-05-06 13:25:11 +00:00
|
|
|
|
2019-05-10 19:17:55 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvSchedulePro"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_pro_feature"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvScheduleHint" />
|
|
|
|
|
2019-05-06 13:25:11 +00:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swUnseen"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
2019-06-08 14:33:25 +00:00
|
|
|
android:checked="false"
|
2019-05-06 13:25:11 +00:00
|
|
|
android:text="@string/title_advanced_unseen"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-05-10 19:17:55 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSchedulePro"
|
2019-05-06 13:25:11 +00:00
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swFlagged"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_flagged"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swUnseen"
|
|
|
|
app:switchPadding="12dp" />
|
2019-06-02 06:26:12 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swSyncKept"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="false"
|
|
|
|
android:text="@string/title_advanced_kept_removed"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swFlagged"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvSyncKept"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_sync_kept_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swSyncKept" />
|
2019-06-08 14:33:25 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/swSyncFolders"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/title_advanced_sync_folders"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvSyncKept"
|
|
|
|
app:switchPadding="12dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvSyncFolders"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:text="@string/title_advanced_sync_folders_hint"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textStyle="italic"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/swSyncFolders" />
|
2019-05-06 07:10:13 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|