[Libreoffice-commits] core.git: android/source
Michael Weghorn (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 7 06:31:02 UTC 2021
android/source/res/layout/activity_document_browser.xml | 38 ++++++++--------
1 file changed, 19 insertions(+), 19 deletions(-)
New commits:
commit 91eb5026f999ee349079c8cfcc77ac67b76c1ef2
Author: Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Tue Apr 6 14:58:01 2021 +0200
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Apr 7 08:30:17 2021 +0200
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 at posteo.de>
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>
More information about the Libreoffice-commits
mailing list