diff options
author | Thomas <tschneider.ac@gmail.com> | 2023-02-28 10:47:09 +0100 |
---|---|---|
committer | Thomas <tschneider.ac@gmail.com> | 2023-02-28 10:47:09 +0100 |
commit | 545fbe588cedf99f63e2eb1f12175047d2d65b00 (patch) | |
tree | e0598a9f235097d2c6fe93ad21db581500b7491e | |
parent | 97a527ab52f58af3f4b788ba856737837df58548 (diff) |
Fix cache view with large fonts
-rw-r--r-- | app/src/main/res/layouts/mastodon/layout/drawer_cache.xml | 18 | ||||
-rw-r--r-- | src/fdroid/fastlane/metadata/android/en/changelogs/482.txt | 2 |
2 files changed, 12 insertions, 8 deletions
diff --git a/app/src/main/res/layouts/mastodon/layout/drawer_cache.xml b/app/src/main/res/layouts/mastodon/layout/drawer_cache.xml index 197756e46..e2cf569f1 100644 --- a/app/src/main/res/layouts/mastodon/layout/drawer_cache.xml +++ b/app/src/main/res/layouts/mastodon/layout/drawer_cache.xml @@ -40,17 +40,18 @@ <com.google.android.material.checkbox.MaterialCheckBox android:id="@+id/label_home_timeline_cache_count" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:checked="true" android:text="@string/messages_in_cache_for_home" + app:layout_constraintEnd_toStartOf="@+id/home_count" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/pp" /> + app:layout_constraintTop_toBottomOf="@+id/acct" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/home_count" - android:layout_width="50dp" + android:layout_width="70dp" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:gravity="center" @@ -62,17 +63,18 @@ <com.google.android.material.checkbox.MaterialCheckBox android:id="@+id/label_timelines_cache_count" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:checked="true" android:text="@string/messages_in_cache_for_other_timelines" + app:layout_constraintEnd_toStartOf="@+id/other_count" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/label_home_timeline_cache_count" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/other_count" - android:layout_width="50dp" + android:layout_width="70dp" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:gravity="center" @@ -84,17 +86,18 @@ <com.google.android.material.checkbox.MaterialCheckBox android:id="@+id/label_drafts_count" - android:layout_width="wrap_content" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:checked="false" android:text="@string/messages_stored_in_drafts" + app:layout_constraintEnd_toStartOf="@id/draft_count" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/label_timelines_cache_count" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/draft_count" - android:layout_width="50dp" + android:layout_width="70dp" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:gravity="center" @@ -102,5 +105,6 @@ app:layout_constraintBottom_toBottomOf="@+id/label_drafts_count" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@+id/label_drafts_count" + app:layout_constraintVertical_bias="0.0" tools:text="49" /> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/src/fdroid/fastlane/metadata/android/en/changelogs/482.txt b/src/fdroid/fastlane/metadata/android/en/changelogs/482.txt index 8c9ef028f..407155f28 100644 --- a/src/fdroid/fastlane/metadata/android/en/changelogs/482.txt +++ b/src/fdroid/fastlane/metadata/android/en/changelogs/482.txt @@ -6,4 +6,4 @@ Changed: - Fixed: --
\ No newline at end of file +- Cache view with large fonts
\ No newline at end of file |