diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-03-30 17:50:36 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-03-31 13:00:41 +0200 |
commit | f8b35b0fe546c9f34626155f19dafe16a8f82829 (patch) | |
tree | ceb16a90ea3dcdb5a3adad6da58c11fb8e54f522 /platform/android/example/app/src/main/res/layout/choose_doc.xml | |
parent | d68576c3785572c1f5d41f83015b8fe6bbcbe9e8 (diff) | |
download | mupdf-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.xml | 32 |
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> |