summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-04-06 15:14:23 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2021-04-07 08:37:20 +0200
commit53d1c08f1a77910ff7982cb2b68b8f1a1ed102c9 (patch)
treec6db408fa3189d40d0b04f1b582c8e0613557dbd
parent4e530cd9f8abcc6f8bfff26db0745bfcc98917d6 (diff)
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@posteo.de> (cherry picked from commit 4cfcc0f48a0bcdeb77b86455b463889ea1040bc3)
-rw-r--r--android/source/res/drawable-hdpi/ic_folder_grey_48dp.xml (renamed from android/source/res/drawable-hdpi/ic_folder_grey_144dp.xml)4
-rw-r--r--android/source/res/layout/activity_document_browser.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/android/source/res/drawable-hdpi/ic_folder_grey_144dp.xml b/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