diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-04-06 15:14:23 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-04-07 08:30:38 +0200 |
commit | 4cfcc0f48a0bcdeb77b86455b463889ea1040bc3 (patch) | |
tree | 60814dc2fbcbfe89ac686b7ecd9738be3ea3cf33 | |
parent | 91eb5026f999ee349079c8cfcc77ac67b76c1ef2 (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>
-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.xml | 4 |
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 |