joniks / Android-MuPDF

MuPDF usage for magazine reading
GNU Affero General Public License v3.0
184 stars 74 forks source link

Show cover page in center, while displaying 2 pages on screen #13

Open Priyanka-Razdan opened 8 years ago

Priyanka-Razdan commented 8 years ago

We are showing PDF with core.setDisplayPages(2); i.e 2 pages per screen. But cover page is rendered on the right side of the screen as this image shows. orignal1

We need to set the first/cover page in center of the screen as per the image below, required

We tried to re-position the page but logic doesn't work with zooming effect on double tap;instead the PDF page and the gray patch collapse with each other. Is it possible to show cover page with proper positioning and zooming?

Please suggest ASAP.

joniks commented 8 years ago

No quick solution

Priyanka-Razdan commented 8 years ago

but is there any solution for this? and approximately how much time it will take?

hapas commented 8 years ago

You can have an idea how they manage it here libreliodev Apart from the cover center position they also reset zoom when change page...