summaryrefslogtreecommitdiff
path: root/android/res/layout/buttons.xml
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2013-02-25 15:29:07 +0000
committerRobin Watts <robin.watts@artifex.com>2013-02-26 19:02:02 +0000
commit08dd51d661b7e1adf925a667a548755fadbfbef7 (patch)
tree4626edb1aa0b1f9df728183cc5029e2be6e78fca /android/res/layout/buttons.xml
parent5bf497485a597a866bb5c149ef02f2b10b74e1ea (diff)
downloadmupdf-08dd51d661b7e1adf925a667a548755fadbfbef7.tar.xz
Android: add support for highlight and underline markup annotations.
Highlight annotations currently come out opaque so aren't a lot of use.
Diffstat (limited to 'android/res/layout/buttons.xml')
-rw-r--r--android/res/layout/buttons.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/android/res/layout/buttons.xml b/android/res/layout/buttons.xml
index b89848bb..879abf46 100644
--- a/android/res/layout/buttons.xml
+++ b/android/res/layout/buttons.xml
@@ -149,6 +149,26 @@
android:src="@drawable/ic_cancel" />
<ImageButton
+ android:id="@+id/highlightButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toLeftOf="@+id/underlineButton"
+ android:contentDescription="@string/highlight"
+ android:background="@drawable/button"
+ android:src="@drawable/ic_highlight" />
+
+ <ImageButton
+ android:id="@+id/underlineButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toLeftOf="@+id/strikeOutButton"
+ android:contentDescription="@string/underline"
+ android:background="@drawable/button"
+ android:src="@drawable/ic_underline" />
+
+ <ImageButton
android:id="@+id/strikeOutButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"