summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-05-05 12:23:50 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2021-05-05 17:44:25 +0200
commit70554d74a602c5cbeb5a3830898f644becf507ba (patch)
treec34d09cd55114e4e19ac7333abc1e0cc65f79a5e /android
parentf61fcf6fe6b9f54dd57ca5d868b1b0436e9cec61 (diff)
tdf#135136 Android: Don't hardcode height of TextViews
Otherwise the text gets cut off when using a large system font size. Change-Id: I265d57ae310e39e9e452f6e744f17ed4807a00b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115134 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android')
-rw-r--r--android/source/res/layout/activity_document_browser.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/source/res/layout/activity_document_browser.xml b/android/source/res/layout/activity_document_browser.xml
index 36ccdbc40699..559d92efbb38 100644
--- a/android/source/res/layout/activity_document_browser.xml
+++ b/android/source/res/layout/activity_document_browser.xml
@@ -61,7 +61,7 @@
<TextView
android:id="@+id/header_browser"
android:layout_width="match_parent"
- android:layout_height="48dp"
+ android:layout_height="wrap_content"
android:gravity="center_vertical"
android:padding="16dp"
android:text="@string/title_browser"
@@ -90,7 +90,7 @@
<TextView
android:layout_width="match_parent"
- android:layout_height="48dp"
+ android:layout_height="wrap_content"
android:id="@+id/header_recents"
android:text="@string/title_recents"
android:gravity="center_vertical"