Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MuPDF Android Library Vertical Scroll

I am using MuPdf Android Library, I want vertical Scroll instead of horizontal page Scrolling, tried everything but failed, googled the problem and found an answer on Stackoverflow and someone answered his question which worked for the Questions Author but I am not getting this solution, putted these methods in ReaderView but by this way I found errors which were related to other activities, kindly help me to where put these methods etc. someone worked on mupdf vertical scrolling?

like image 610
Naveed Ahmad Avatar asked Oct 25 '15 18:10

Naveed Ahmad


2 Answers

As Arunjyothis said :

You can do by changing the horizontal values to vertical ( change all width related calculations to height )

Check the answer HERE.

like image 79
Armin Ghoreishi Avatar answered Sep 29 '22 15:09

Armin Ghoreishi


I created new binding library for Mupdf with method swipeHorizontal(boolean isHorizontal) so you can easy change between vertical and horizontal scroll

https://github.com/minaairsupport/MuPDF_Xamarin

Just download the library and reference it in your project

like image 41
Mina Fawzy Avatar answered Sep 29 '22 13:09

Mina Fawzy