Question

I'm using the mupdf library (http://mupdf.com/doc/how-to-build-mupdf-for-android) on my android application. It is working fine, i can see the pdf pages perfectly. But when I'm on landscape mode just one page is shown.

I wanna know how to show two pages per time while on landscape mode. Is there an easy way to do that? Or complex code change must be done?

I'm using the following mupdf commit version: commit e16103ffd0db53a6d4aece9926279271d6b5a6a4 Date: Fri Jun 28 16:29:33 2013 +0200

Was it helpful?

Solution

We have a similar feature in our Android customizable magazine app, using muPDF: in portrait mode one page is shown, but in landscape mode, a double page is shown. This app is open source and available on Github. It should be easy for you to review the code, and see how we implemented this feature.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top