diff options
author | fred ross-perry <fredross-perry@Fred-Ross-Perrys-Computer.local> | 2016-07-14 17:03:45 -0700 |
---|---|---|
committer | fred ross-perry <fred.ross-perry@artifex.com> | 2016-07-15 10:09:03 -0700 |
commit | c845fe961a6846b46116a38bb0dd8a9e5bdba609 (patch) | |
tree | 41e9be58ade7736b338b4085dbc64a8136438349 /platform/android/example/app/src/main/res/layout | |
parent | bc7dd5e109c4f001982be9dcb7b5e80d35bd5b28 (diff) | |
download | mupdf-c845fe961a6846b46116a38bb0dd8a9e5bdba609.tar.xz |
android example - add a button to toggle annotations
Diffstat (limited to 'platform/android/example/app/src/main/res/layout')
-rwxr-xr-x[-rw-r--r--] | platform/android/example/app/src/main/res/layout/activity_doc_view.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/android/example/app/src/main/res/layout/activity_doc_view.xml b/platform/android/example/app/src/main/res/layout/activity_doc_view.xml index 36761615..c3ad0085 100644..100755 --- a/platform/android/example/app/src/main/res/layout/activity_doc_view.xml +++ b/platform/android/example/app/src/main/res/layout/activity_doc_view.xml @@ -4,6 +4,19 @@ android:layout_height="match_parent" android:orientation="vertical"> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Annotations" + android:onClick="onToggleAnnotations"/> + + </LinearLayout> + <com.artifex.mupdf.android.DocView android:id="@+id/doc_view" android:layout_width="match_parent" |