1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 15:55:57 +00:00

Small layout improvement

This commit is contained in:
M66B 2021-01-23 22:39:04 +01:00
parent 2aeb37de1b
commit c1b589ffa2

View file

@ -307,22 +307,23 @@
android:id="@+id/tvPermissionsDone" android:id="@+id/tvPermissionsDone"
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:drawableStart="@drawable/twotone_check_24" android:drawableStart="@drawable/twotone_check_24"
android:drawablePadding="6dp" android:drawablePadding="6dp"
android:text="@string/title_setup_done" android:text="@string/title_setup_done"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
app:layout_constraintBottom_toBottomOf="@id/btnPermissions"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvPermissions" /> app:layout_constraintTop_toTopOf="@id/btnPermissions" />
<Button <Button
android:id="@+id/btnPermissions" android:id="@+id/btnPermissions"
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:text="@string/title_setup_grant" android:text="@string/title_setup_grant"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/tvPermissionsDone" /> app:layout_constraintTop_toBottomOf="@id/tvPermissions" />
<!-- doze --> <!-- doze -->
@ -374,22 +375,23 @@
android:id="@+id/tvDozeDone" android:id="@+id/tvDozeDone"
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:drawableStart="@drawable/twotone_check_24" android:drawableStart="@drawable/twotone_check_24"
android:drawablePadding="6dp" android:drawablePadding="6dp"
android:text="@string/title_setup_done" android:text="@string/title_setup_done"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="?android:attr/textColorPrimary" android:textColor="?android:attr/textColorPrimary"
app:layout_constraintBottom_toBottomOf="@+id/btnDoze"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvDoze" /> app:layout_constraintTop_toTopOf="@+id/btnDoze" />
<Button <Button
android:id="@+id/btnDoze" android:id="@+id/btnDoze"
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:text="@string/title_setup_manage" android:text="@string/title_setup_manage"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/tvDozeDone" /> app:layout_constraintTop_toBottomOf="@id/tvDoze" />
<eu.faircode.email.FixedTextView <eu.faircode.email.FixedTextView
android:id="@+id/tvDozeHint" android:id="@+id/tvDozeHint"