summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2013-02-12 15:49:36 +0000
committerRobin Watts <robin.watts@artifex.com>2013-02-13 14:05:08 +0000
commit85741dc7aaf58dc17801f39b1dd1e407d2ffaf5f (patch)
tree202ad1dd835bb2706807d422f01bae5e4b8a03e6
parentab25ee34372a41f70d766de6c4ecc3c6146d865f (diff)
downloadmupdf-85741dc7aaf58dc17801f39b1dd1e407d2ffaf5f.tar.xz
Android: highlight reflow icon when in reflow mode
-rw-r--r--android/src/com/artifex/mupdfdemo/MuPDFActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/src/com/artifex/mupdfdemo/MuPDFActivity.java b/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
index 3307087e..cb9769fe 100644
--- a/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
+++ b/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
@@ -655,8 +655,10 @@ public class MuPDFActivity extends Activity
mReflow = !mReflow;
if (mReflow) {
mDocView.setAdapter(new MuPDFReflowAdapter(this, core));
+ mReflowButton.setColorFilter(Color.argb(0xFF, 172, 114, 37));
} else {
mDocView.setAdapter(new MuPDFPageAdapter(this, core));
+ mReflowButton.setColorFilter(Color.argb(0xFF, 255, 255, 255));
}
mDocView.refresh(mReflow);
}