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

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 7 06:31:21 UTC 2021


 android/source/res/drawable-hdpi/ic_folder_grey_48dp.xml |    4 ++--
 android/source/res/layout/activity_document_browser.xml  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 4cfcc0f48a0bcdeb77b86455b463889ea1040bc3
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Tue Apr 6 15:14:23 2021 +0200
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Apr 7 08:30:38 2021 +0200

    tdf#141338 android: Make "Select file to open" view smaller
    
    Use the same height as is used for the "Recent files"
    entries.
    
    Change-Id: Ia6c1e02507ac12b554eb042d6dd32c0fc78cb578
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113675
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/android/source/res/drawable-hdpi/ic_folder_grey_144dp.xml b/android/source/res/drawable-hdpi/ic_folder_grey_48dp.xml
similarity index 62%
rename from android/source/res/drawable-hdpi/ic_folder_grey_144dp.xml
rename to android/source/res/drawable-hdpi/ic_folder_grey_48dp.xml
index 4ba799e20ef1..c652bf48eb32 100644
--- a/android/source/res/drawable-hdpi/ic_folder_grey_144dp.xml
+++ b/android/source/res/drawable-hdpi/ic_folder_grey_48dp.xml
@@ -1,5 +1,5 @@
-<vector android:autoMirrored="true" android:height="144dp"
+<vector android:autoMirrored="true" android:height="48dp"
     android:viewportHeight="24.0" android:viewportWidth="24.0"
-    android:width="144dp" xmlns:android="http://schemas.android.com/apk/res/android">
+    android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
     <path android:fillColor="#FF606060" android:pathData="M10,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8c0,-1.1 -0.9,-2 -2,-2h-8l-2,-2z"/>
 </vector>
diff --git a/android/source/res/layout/activity_document_browser.xml b/android/source/res/layout/activity_document_browser.xml
index eb0dd590d2d5..36ccdbc40699 100644
--- a/android/source/res/layout/activity_document_browser.xml
+++ b/android/source/res/layout/activity_document_browser.xml
@@ -82,10 +82,10 @@
                         android:layout_width="match_parent"
                         android:layout_height="wrap_content"
                         android:layout_weight="1"
-                        android:drawableLeft="@drawable/ic_folder_grey_144dp"
+                        android:drawableLeft="@drawable/ic_folder_grey_48dp"
                         android:gravity="center_vertical"
                         android:text="@string/select_file_to_open"
-                        android:textSize="24dp" />
+                        android:textSize="14dp" />
                 </LinearLayout>
 
                 <TextView


More information about the Libreoffice-commits mailing list