mirror of https://github.com/M66B/FairEmail.git
parent
186b12fe1c
commit
4055289d49
@ -1,147 +1,152 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<eu.faircode.email.ScrollViewEx xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:padding="12dp">
|
android:padding="12dp">
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/tvAccount"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/title_widget_account"
|
<eu.faircode.email.FixedTextView
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:id="@+id/tvAccount"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/title_widget_account"
|
||||||
<Spinner
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:id="@+id/spAccount"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="0dp"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
<Spinner
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:id="@+id/spAccount"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvAccount" />
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
<eu.faircode.email.FixedTextView
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
android:id="@+id/tvFolder"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/tvAccount" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="12dp"
|
<eu.faircode.email.FixedTextView
|
||||||
android:text="@string/title_widget_folder"
|
android:id="@+id/tvFolder"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@id/spAccount" />
|
android:layout_marginTop="12dp"
|
||||||
|
android:text="@string/title_widget_folder"
|
||||||
<Spinner
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:id="@+id/spFolder"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="0dp"
|
app:layout_constraintTop_toBottomOf="@id/spAccount" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
<Spinner
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:id="@+id/spFolder"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvFolder" />
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
<CheckBox
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
android:id="@+id/cbUnseen"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/tvFolder" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="12dp"
|
<CheckBox
|
||||||
android:text="@string/title_widget_unseen"
|
android:id="@+id/cbUnseen"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/spFolder" />
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
<CheckBox
|
android:text="@string/title_widget_unseen"
|
||||||
android:id="@+id/cbFlagged"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="wrap_content"
|
app:layout_constraintTop_toBottomOf="@+id/spFolder" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="12dp"
|
<CheckBox
|
||||||
android:text="@string/title_widget_flagged"
|
android:id="@+id/cbFlagged"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@id/cbUnseen" />
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
<CheckBox
|
android:text="@string/title_widget_flagged"
|
||||||
android:id="@+id/cbSemiTransparent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/cbUnseen" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="12dp"
|
<CheckBox
|
||||||
android:checked="true"
|
android:id="@+id/cbSemiTransparent"
|
||||||
android:text="@string/title_widget_semi_transparent"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@id/cbFlagged" />
|
android:layout_marginTop="12dp"
|
||||||
|
android:checked="true"
|
||||||
<Button
|
android:text="@string/title_widget_semi_transparent"
|
||||||
android:id="@+id/btnColor"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
style="?android:attr/buttonStyleSmall"
|
app:layout_constraintTop_toBottomOf="@id/cbFlagged" />
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
<Button
|
||||||
android:layout_marginTop="12dp"
|
android:id="@+id/btnColor"
|
||||||
android:tag="disable"
|
style="?android:attr/buttonStyleSmall"
|
||||||
android:text="@string/title_widget_background"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@id/cbSemiTransparent" />
|
android:layout_marginTop="12dp"
|
||||||
|
android:tag="disable"
|
||||||
<eu.faircode.email.FixedTextView
|
android:text="@string/title_widget_background"
|
||||||
android:id="@+id/tvFontSize"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/cbSemiTransparent" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="12dp"
|
<eu.faircode.email.FixedTextView
|
||||||
android:text="@string/title_widget_font_size"
|
android:id="@+id/tvFontSize"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@id/btnColor" />
|
android:layout_marginTop="12dp"
|
||||||
|
android:text="@string/title_widget_font_size"
|
||||||
<Spinner
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:id="@+id/spFontSize"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="0dp"
|
app:layout_constraintTop_toBottomOf="@id/btnColor" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
<Spinner
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:id="@+id/spFontSize"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvFontSize" />
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
<eu.faircode.email.FixedTextView
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
android:id="@+id/tvPadding"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/tvFontSize" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="12dp"
|
<eu.faircode.email.FixedTextView
|
||||||
android:text="@string/title_widget_padding"
|
android:id="@+id/tvPadding"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@id/spFontSize" />
|
android:layout_marginTop="12dp"
|
||||||
|
android:text="@string/title_widget_padding"
|
||||||
<Spinner
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:id="@+id/spPadding"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="0dp"
|
app:layout_constraintTop_toBottomOf="@id/spFontSize" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
<Spinner
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:id="@+id/spPadding"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvPadding" />
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
<Button
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
android:id="@+id/btnSave"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/tvPadding" />
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="12dp"
|
<Button
|
||||||
android:text="@string/title_save"
|
android:id="@+id/btnSave"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@id/spPadding" />
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
<eu.faircode.email.ContentLoadingProgressBar
|
android:text="@string/title_save"
|
||||||
android:id="@+id/pbWait"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
style="@style/Base.Widget.AppCompat.ProgressBar"
|
app:layout_constraintTop_toBottomOf="@id/spPadding" />
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
<eu.faircode.email.ContentLoadingProgressBar
|
||||||
android:indeterminate="true"
|
android:id="@+id/pbWait"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
style="@style/Base.Widget.AppCompat.ProgressBar"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
android:layout_width="wrap_content"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
android:indeterminate="true"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
<androidx.constraintlayout.widget.Group
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
android:id="@+id/grpReady"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:layout_width="0dp"
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
android:layout_height="0dp"
|
|
||||||
app:constraint_referenced_ids="
|
<androidx.constraintlayout.widget.Group
|
||||||
|
android:id="@+id/grpReady"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
app:constraint_referenced_ids="
|
||||||
tvAccount,spAccount,tvFolder,spFolder,
|
tvAccount,spAccount,tvFolder,spFolder,
|
||||||
cbUnseen,cbFlagged,
|
cbUnseen,cbFlagged,
|
||||||
cbSemiTransparent,btnColor,
|
cbSemiTransparent,btnColor,
|
||||||
tvFontSize,spFontSize,tvPadding,spPadding,btnSave" />
|
tvFontSize,spFontSize,tvPadding,spPadding,btnSave" />
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
</eu.faircode.email.ScrollViewEx>
|
Loading…
Reference in new issue