summaryrefslogtreecommitdiff
path: root/platform/android/example/app/src/main/res/layout/choose_doc.xml
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-30 17:50:36 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-03-31 13:00:41 +0200
commitf8b35b0fe546c9f34626155f19dafe16a8f82829 (patch)
treeceb16a90ea3dcdb5a3adad6da58c11fb8e54f522 /platform/android/example/app/src/main/res/layout/choose_doc.xml
parentd68576c3785572c1f5d41f83015b8fe6bbcbe9e8 (diff)
downloadmupdf-f8b35b0fe546c9f34626155f19dafe16a8f82829.tar.xz
android: Add new example viewer.
Thanks to Fred Ross-Perry.
Diffstat (limited to 'platform/android/example/app/src/main/res/layout/choose_doc.xml')
-rw-r--r--platform/android/example/app/src/main/res/layout/choose_doc.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/platform/android/example/app/src/main/res/layout/choose_doc.xml b/platform/android/example/app/src/main/res/layout/choose_doc.xml
new file mode 100644
index 00000000..48e63b8c
--- /dev/null
+++ b/platform/android/example/app/src/main/res/layout/choose_doc.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_horizontal"
+ android:id="@+id/device_files_wrapper">
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_horizontal"
+ android:id="@+id/file_list_wrpper">
+
+ <ListView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/fileListView"
+ android:layout_gravity="center_horizontal"
+ android:choiceMode="singleChoice"
+ android:background="#ffffff"/>
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+</LinearLayout>