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-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"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvEnabledHint" />
|
|
|
|
|
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
|
|
|
|
|
|
|
<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"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/spPollInterval"
|
|
|
|
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"
|
|
|
|
android:checked="true"
|
|
|
|
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-05-06 07:10:13 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|