2019-07-30 09:36:30 +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="match_parent"
|
|
|
|
android:padding="12dp">
|
|
|
|
|
2019-09-20 13:14:04 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvAccount"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/title_widget_account"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spAccount"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvAccount" />
|
|
|
|
|
2019-07-30 09:36:30 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbUnseen"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-20 13:14:04 +00:00
|
|
|
android:layout_marginTop="12dp"
|
2019-07-30 09:36:30 +00:00
|
|
|
android:text="@string/title_widget_unseen"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-09-20 13:14:04 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/spAccount" />
|
2019-07-30 09:36:30 +00:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbFlagged"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_widget_flagged"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbUnseen" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnSave"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/title_save"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/cbFlagged" />
|
2019-09-20 13:14:04 +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" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpReady"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:constraint_referenced_ids="tvAccount,spAccount,cbUnseen,cbFlagged,btnSave" />
|
2019-07-30 09:36:30 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|