diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2013-02-12 15:49:36 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-02-13 14:05:08 +0000 |
commit | 85741dc7aaf58dc17801f39b1dd1e407d2ffaf5f (patch) | |
tree | 202ad1dd835bb2706807d422f01bae5e4b8a03e6 | |
parent | ab25ee34372a41f70d766de6c4ecc3c6146d865f (diff) | |
download | mupdf-85741dc7aaf58dc17801f39b1dd1e407d2ffaf5f.tar.xz |
Android: highlight reflow icon when in reflow mode
-rw-r--r-- | android/src/com/artifex/mupdfdemo/MuPDFActivity.java | 2 |
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); } |