diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-05-27 19:20:57 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-05-27 19:58:31 +0100 |
commit | 1c117657285ff9fd5ec5f0b64c373b7a0a75c52f (patch) | |
tree | bd33131622895ae11e727015140c28b1a55b6142 | |
parent | 8222c54c6640381b4afb0c6197f808d5019b509d (diff) | |
download | mupdf-1c117657285ff9fd5ec5f0b64c373b7a0a75c52f.tar.xz |
Android: Add label when deleting annotation.
Simple layout tweak to add 'Delete' into the header when deleting
annotations.
-rw-r--r-- | android/res/layout/buttons.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/android/res/layout/buttons.xml b/android/res/layout/buttons.xml index 5d082578..8100f928 100644 --- a/android/res/layout/buttons.xml +++ b/android/res/layout/buttons.xml @@ -214,6 +214,20 @@ android:onClick="OnCancelDeleteButtonClick" android:src="@drawable/ic_cancel" /> + <TextView + android:id="@+id/deleteLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_toRightOf="@+id/cancelDeleteButton" + android:layout_toLeftOf="@+id/deleteButton" + android:gravity="center" + android:singleLine="true" + android:textColor="#FFFFFF" + android:textStyle="bold" + android:text="@string/delete" + android:textAppearance="?android:attr/textAppearanceMedium" /> + <ImageButton android:id="@+id/deleteButton" android:layout_width="wrap_content" |