diff options
Diffstat (limited to 'android')
-rw-r--r-- | android/src/com/artifex/mupdfdemo/MuPDFActivity.java | 3 |
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); } |