mirror of https://github.com/M66B/FairEmail.git
Small layout improvement
This commit is contained in:
parent
ec3a6170d1
commit
8545e6206a
|
@ -1,117 +1,123 @@
|
||||||
<?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="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="24dp">
|
android:padding="24dp"
|
||||||
|
android:scrollbarStyle="outsideOverlay">
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/tvAddImage"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:drawableStart="@drawable/twotone_delete_24"
|
|
||||||
android:drawablePadding="6dp"
|
|
||||||
android:drawableTint="?attr/colorError"
|
|
||||||
android:text="@string/title_delete_operation_title"
|
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<CheckBox
|
<eu.faircode.email.FixedTextView
|
||||||
android:id="@+id/cbError"
|
android:id="@+id/tvAddImage"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="24dp"
|
android:drawableStart="@drawable/twotone_delete_24"
|
||||||
android:checked="true"
|
android:drawablePadding="6dp"
|
||||||
android:text="@string/title_delete_operation_error"
|
android:drawableTint="?attr/colorError"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
android:text="@string/title_delete_operation_title"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvAddImage" />
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:id="@+id/cbFetch"
|
android:id="@+id/cbError"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="24dp"
|
||||||
android:text="@string/title_delete_operation_fetch"
|
android:checked="true"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
android:text="@string/title_delete_operation_error"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||||
app:layout_constraintTop_toBottomOf="@id/cbError" />
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/tvAddImage" />
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<CheckBox
|
||||||
android:id="@+id/tvFetch"
|
android:id="@+id/cbFetch"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="48dp"
|
android:layout_marginTop="12dp"
|
||||||
android:fontFamily="monospace"
|
android:text="@string/title_delete_operation_fetch"
|
||||||
android:text="FETCH, BODY, ATTACHMENT, HEADERS, SYNC"
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:textSize="12sp"
|
app:layout_constraintTop_toBottomOf="@id/cbError" />
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/cbFetch" />
|
|
||||||
|
|
||||||
<CheckBox
|
<eu.faircode.email.FixedTextView
|
||||||
android:id="@+id/cbMove"
|
android:id="@+id/tvFetch"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginStart="48dp"
|
||||||
android:text="@string/title_delete_operation_move"
|
android:fontFamily="monospace"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
android:text="FETCH, BODY, ATTACHMENT, HEADERS, SYNC"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvFetch" />
|
android:textSize="12sp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/cbFetch" />
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<CheckBox
|
||||||
android:id="@+id/tvMove"
|
android:id="@+id/cbMove"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="48dp"
|
android:layout_marginTop="12dp"
|
||||||
android:text="MOVE, COPY"
|
android:text="@string/title_delete_operation_move"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||||
android:textSize="12sp"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/tvFetch" />
|
||||||
app:layout_constraintTop_toBottomOf="@id/cbMove" />
|
|
||||||
|
|
||||||
<CheckBox
|
<eu.faircode.email.FixedTextView
|
||||||
android:id="@+id/cbFlag"
|
android:id="@+id/tvMove"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginStart="48dp"
|
||||||
android:text="@string/title_delete_operation_flag"
|
android:text="MOVE, COPY"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:textSize="12sp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvMove" />
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/cbMove" />
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<CheckBox
|
||||||
android:id="@+id/tvFlag"
|
android:id="@+id/cbFlag"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="48dp"
|
android:layout_marginTop="12dp"
|
||||||
android:fontFamily="monospace"
|
android:text="@string/title_delete_operation_flag"
|
||||||
android:text="SEEN, ANSWERED, FLAG, KEYWORD, LABEL"
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:textSize="12sp"
|
app:layout_constraintTop_toBottomOf="@id/tvMove" />
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/cbFlag" />
|
|
||||||
|
|
||||||
<CheckBox
|
<eu.faircode.email.FixedTextView
|
||||||
android:id="@+id/cbDelete"
|
android:id="@+id/tvFlag"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginStart="48dp"
|
||||||
android:text="@string/title_delete_operation_delete"
|
android:fontFamily="monospace"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
android:text="SEEN, ANSWERED, FLAG, KEYWORD, LABEL"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tvFlag" />
|
android:textSize="12sp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/cbFlag" />
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<CheckBox
|
||||||
android:id="@+id/tvDelete"
|
android:id="@+id/cbDelete"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="48dp"
|
android:layout_marginTop="12dp"
|
||||||
android:fontFamily="monospace"
|
android:text="@string/title_delete_operation_delete"
|
||||||
android:text="DELETE, PURGE, EXPUNGE"
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
android:textSize="12sp"
|
app:layout_constraintTop_toBottomOf="@id/tvFlag" />
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toBottomOf="@id/cbDelete" />
|
<eu.faircode.email.FixedTextView
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
android:id="@+id/tvDelete"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="48dp"
|
||||||
|
android:fontFamily="monospace"
|
||||||
|
android:text="DELETE, PURGE, EXPUNGE"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
|
android:textSize="12sp"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/cbDelete" />
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
</eu.faircode.email.ScrollViewEx>
|
Loading…
Reference in New Issue