summaryrefslogtreecommitdiff
path: root/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-02-12 17:54:50 +0000
committerRobin Watts <robin.watts@artifex.com>2013-03-26 12:28:52 +0000
commit8af59306cb95d85b06b20f54658b68298b7826b4 (patch)
tree2eecd53dbf7533236578ed66a51545d358077430 /android/src/com/artifex/mupdfdemo/MuPDFActivity.java
parent85673f477f55443f8365bed03e314c9abc859fe2 (diff)
downloadmupdf-8af59306cb95d85b06b20f54658b68298b7826b4.tar.xz
Android: Popup notifications for entering/exiting reflow mode.
Diffstat (limited to 'android/src/com/artifex/mupdfdemo/MuPDFActivity.java')
-rw-r--r--android/src/com/artifex/mupdfdemo/MuPDFActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/src/com/artifex/mupdfdemo/MuPDFActivity.java b/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
index 90e55887..582848a7 100644
--- a/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
+++ b/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
@@ -372,6 +372,7 @@ public class MuPDFActivity extends Activity
alert.show();
}
+
public void createUI(Bundle savedInstanceState) {
if (core == null)
return;
@@ -755,9 +756,11 @@ public class MuPDFActivity extends Activity
if (mReflow) {
mDocView.setAdapter(new MuPDFReflowAdapter(this, core));
mReflowButton.setColorFilter(Color.argb(0xFF, 172, 114, 37));
+ showInfo("Entering reflow mode");
} else {
mDocView.setAdapter(new MuPDFPageAdapter(this, core));
mReflowButton.setColorFilter(Color.argb(0xFF, 255, 255, 255));
+ showInfo("Exited reflow mode");
}
mDocView.refresh(mReflow);
}