[Libreoffice-commits] core.git: android/source

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Wed May 5 15:45:13 UTC 2021


 android/source/res/layout/activity_document_browser.xml |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 70554d74a602c5cbeb5a3830898f644becf507ba
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Wed May 5 12:23:50 2021 +0200
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed May 5 17:44:25 2021 +0200

    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 at posteo.de>

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"


More information about the Libreoffice-commits mailing list