From 05f86ac0cfd2dca99e27120a5e35db6cba703eec Mon Sep 17 00:00:00 2001 From: Paul Gardiner Date: Mon, 4 Feb 2013 12:48:44 +0000 Subject: Android: add button for reflow --- android/res/drawable-ldpi/ic_reflow.png | Bin 0 -> 962 bytes android/res/drawable-mdpi/ic_reflow.png | Bin 0 -> 1255 bytes android/res/layout/buttons.xml | 12 +++++++++++- android/src/com/artifex/mupdfdemo/MuPDFActivity.java | 11 ++++++++++- 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 android/res/drawable-ldpi/ic_reflow.png create mode 100644 android/res/drawable-mdpi/ic_reflow.png diff --git a/android/res/drawable-ldpi/ic_reflow.png b/android/res/drawable-ldpi/ic_reflow.png new file mode 100644 index 00000000..5be6372b Binary files /dev/null and b/android/res/drawable-ldpi/ic_reflow.png differ diff --git a/android/res/drawable-mdpi/ic_reflow.png b/android/res/drawable-mdpi/ic_reflow.png new file mode 100644 index 00000000..c6b72be9 Binary files /dev/null and b/android/res/drawable-mdpi/ic_reflow.png differ diff --git a/android/res/layout/buttons.xml b/android/res/layout/buttons.xml index 6764dfd1..2d5732f1 100644 --- a/android/res/layout/buttons.xml +++ b/android/res/layout/buttons.xml @@ -55,11 +55,21 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/searchButton" + android:layout_toLeftOf="@+id/reflowButton" android:contentDescription="@string/search_document" android:background="@drawable/button" android:src="@drawable/ic_list" /> + +