diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-04-06 14:58:01 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-04-07 08:30:17 +0200 |
commit | 91eb5026f999ee349079c8cfcc77ac67b76c1ef2 (patch) | |
tree | c2bd61466af843752f38eaf50f71072f633a81b4 /android/source | |
parent | a23bd42e9b2f6401c710ac95afcc3aa8f360d65c (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>
Diffstat (limited to 'android/source')
-rw-r--r-- | android/source/res/layout/activity_document_browser.xml | 38 |
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> |