summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-04-06 14:58:01 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2021-04-07 08:37:12 +0200
commit4e530cd9f8abcc6f8bfff26db0745bfcc98917d6 (patch)
tree801a148152039282f2d7bbdd6487c157f381dd1b
parent423c5d4eaa15fe5cbef75ac45061d317004a6475 (diff)
android: Move "Recent files" below system file picker view
Move the view that opens the system file picker when tapped above the "Recent files" view in the Android Viewer start activity. Change-Id: I63ee0ea7fb784a3405877fcf5ed587ce06e8e093 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113674 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> (cherry picked from commit 91eb5026f999ee349079c8cfcc77ac67b76c1ef2)
-rw-r--r--android/source/res/layout/activity_document_browser.xml38
1 files changed, 19 insertions, 19 deletions
diff --git a/android/source/res/layout/activity_document_browser.xml b/android/source/res/layout/activity_document_browser.xml
index f2985511dd61..eb0dd590d2d5 100644
--- a/android/source/res/layout/activity_document_browser.xml
+++ b/android/source/res/layout/activity_document_browser.xml
@@ -59,31 +59,13 @@
android:showDividers="middle">
<TextView
+ android:id="@+id/header_browser"
android:layout_width="match_parent"
android:layout_height="48dp"
- android:id="@+id/header_recents"
- android:text="@string/title_recents"
android:gravity="center_vertical"
- android:textSize="14sp"
android:padding="16dp"
- android:textStyle="bold" />
-
- <!--Recent files-->
- <android.support.v7.widget.RecyclerView
- android:id="@+id/list_recent"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="8dp" />
-
- <TextView
- android:layout_width="match_parent"
- android:layout_height="48dp"
- android:id="@+id/header_browser"
android:text="@string/title_browser"
- android:gravity="center_vertical"
android:textSize="14sp"
- android:padding="16dp"
android:textStyle="bold" />
<!--Icon and text to open system file picker via Intent -->
@@ -106,6 +88,24 @@
android:textSize="24dp" />
</LinearLayout>
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="48dp"
+ android:id="@+id/header_recents"
+ android:text="@string/title_recents"
+ android:gravity="center_vertical"
+ android:textSize="14sp"
+ android:padding="16dp"
+ android:textStyle="bold" />
+
+ <!--Recent files-->
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/list_recent"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:layout_marginBottom="8dp" />
+
</LinearLayout>
</android.support.v4.widget.NestedScrollView>