diff options
author | fredrossperry <fredrossperry@gmail.com> | 2015-08-21 13:27:08 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-09-29 15:41:28 +0100 |
commit | c15f8ca38f526930bd4da7fe610b04cd8fa93bca (patch) | |
tree | 5901b434d4ffc29781e5810f26657aa7be79e403 /platform/android/res | |
parent | fb7206c262a5f9ff0e39e89946846771479ba3ec (diff) | |
download | mupdf-c15f8ca38f526930bd4da7fe610b04cd8fa93bca.tar.xz |
Support for proofing
- use core.fileFormat to decide whether a proof file is being viewed,
- don't show the proofing button except for PDF files.
- in a proofing activity, show the page that was being viewed when
the proof was requested.
- Add extra two arguments to fz_write_gproof_file in the Android build.
Diffstat (limited to 'platform/android/res')
-rw-r--r-- | platform/android/res/drawable-mdpi/ic_proof.png | bin | 1244 -> 2267 bytes | |||
-rw-r--r-- | platform/android/res/drawable-mdpi/ic_sep.png | bin | 0 -> 1098 bytes | |||
-rw-r--r-- | platform/android/res/layout/buttons.xml | 12 | ||||
-rw-r--r-- | platform/android/res/values/strings.xml | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/platform/android/res/drawable-mdpi/ic_proof.png b/platform/android/res/drawable-mdpi/ic_proof.png Binary files differindex 61d94587..cbda8721 100644 --- a/platform/android/res/drawable-mdpi/ic_proof.png +++ b/platform/android/res/drawable-mdpi/ic_proof.png diff --git a/platform/android/res/drawable-mdpi/ic_sep.png b/platform/android/res/drawable-mdpi/ic_sep.png Binary files differnew file mode 100644 index 00000000..2167be2e --- /dev/null +++ b/platform/android/res/drawable-mdpi/ic_sep.png diff --git a/platform/android/res/layout/buttons.xml b/platform/android/res/layout/buttons.xml index 12de40c6..6c1620ba 100644 --- a/platform/android/res/layout/buttons.xml +++ b/platform/android/res/layout/buttons.xml @@ -31,6 +31,17 @@ android:textAppearance="?android:attr/textAppearanceMedium" /> <ImageButton + android:id="@+id/sepsButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_alignParentRight="true" + android:contentDescription="Separations" + android:background="@drawable/button" + android:onClick="OnSepsButtonClick" + android:src="@drawable/ic_sep" /> + + <ImageButton android:id="@+id/linkButton" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -393,4 +404,5 @@ android:background="@drawable/page_num" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="#FFFFFF" /> + </RelativeLayout> diff --git a/platform/android/res/values/strings.xml b/platform/android/res/values/strings.xml index dcff35f4..ab4b7152 100644 --- a/platform/android/res/values/strings.xml +++ b/platform/android/res/values/strings.xml @@ -26,6 +26,7 @@ <string name="ink">Ink</string> <string name="save">Save</string> <string name="proof">Proof</string> + <string name="separation">Separation</string> <string name="print">Print</string> <string name="dismiss">Dismiss</string> <string name="parent_directory">[Up one level]</string> |