summaryrefslogtreecommitdiff
path: root/android/res/layout/buttons.xml
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2013-03-25 12:59:54 +0000
committerPaul Gardiner <paulg.artifex@glidos.net>2013-03-25 12:59:54 +0000
commit199abe0069381d79fc34c86268e408083ad18397 (patch)
tree0dbefb3a08a5d44dae2d5e98635241a7224b231d /android/res/layout/buttons.xml
parent41f10c71dbae05fb538f51a495ef7aaa1861fd5d (diff)
downloadmupdf-199abe0069381d79fc34c86268e408083ad18397.tar.xz
Android: add support for Ink annotation creation
Diffstat (limited to 'android/res/layout/buttons.xml')
-rw-r--r--android/res/layout/buttons.xml82
1 files changed, 77 insertions, 5 deletions
diff --git a/android/res/layout/buttons.xml b/android/res/layout/buttons.xml
index 879abf46..e714b022 100644
--- a/android/res/layout/buttons.xml
+++ b/android/res/layout/buttons.xml
@@ -35,20 +35,20 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
- android:layout_toLeftOf="@+id/selectButton"
+ android:layout_toLeftOf="@+id/annotButton"
android:contentDescription="@string/link_control"
android:background="@drawable/button"
android:src="@drawable/ic_link" />
<ImageButton
- android:id="@+id/selectButton"
+ android:id="@+id/annotButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/outlineButton"
- android:contentDescription="@string/select"
+ android:contentDescription="@string/edit_annotations"
android:background="@drawable/button"
- android:src="@drawable/ic_select" />
+ android:src="@drawable/ic_annot" />
<ImageButton
android:id="@+id/outlineButton"
@@ -197,6 +197,16 @@
android:background="@color/toolbar" >
<ImageButton
+ android:id="@+id/cancelDeleteButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_alignParentLeft="true"
+ android:contentDescription="@string/cancel"
+ android:background="@drawable/button"
+ android:src="@drawable/ic_cancel" />
+
+ <ImageButton
android:id="@+id/deleteButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -207,7 +217,69 @@
android:src="@drawable/ic_trash" />
</RelativeLayout>
- </ViewAnimator>
+
+ <RelativeLayout
+ android:id="@+id/topBar5"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/toolbar" >
+
+ <ImageButton
+ android:id="@+id/cancelAnnotButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_alignParentLeft="true"
+ android:contentDescription="@string/cancel"
+ android:background="@drawable/button"
+ android:src="@drawable/ic_cancel" />
+
+ <ImageButton
+ android:id="@+id/selectButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toLeftOf="@+id/inkButton"
+ android:contentDescription="@string/select"
+ android:background="@drawable/button"
+ android:src="@drawable/ic_select" />
+
+ <ImageButton
+ android:id="@+id/inkButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
+ android:contentDescription="@string/ink"
+ android:background="@drawable/button"
+ android:src="@drawable/ic_pen" />
+ </RelativeLayout>
+
+ <RelativeLayout
+ android:id="@+id/topBar6"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@color/toolbar" >
+
+ <ImageButton
+ android:id="@+id/cancelInkButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_alignParentLeft="true"
+ android:contentDescription="@string/cancel"
+ android:background="@drawable/button"
+ android:src="@drawable/ic_cancel" />
+
+ <Button
+ android:id="@+id/saveInkButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_alignParentRight="true"
+ android:text="@string/save" />
+ </RelativeLayout>
+ </ViewAnimator>
<RelativeLayout
android:id="@+id/lowerButtons"