nomi943 / vudroid

Automatically exported from code.google.com/p/vudroid
0 stars 0 forks source link

Horizontal scroll view change files #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
  I have made made the some of changes in code to make the horizontal scroll not the perfect one like you but now we can manage using the boolean var 'scrollType'.Please check the attachment files that i have change.Also make the modification in source code and upload the new with horizontal and vertical scroll so that every one can use it.

Once Again Thank you for making it open source.

Original issue reported on code.google.com by tatva25@gmail.com on 4 May 2011 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago
if you have problem about the width of the pdf pages (the width of a page seems 
more than it should be), look at the invalidatePageSizes() method in 
documentview.java file. calculating "widthAccum" variable must change if 
scrolltype is "false". go to page.java  file and find "setAspectRatio(int 
width, int height)" method. for horizontal scrolling it must be like this:

    public void setAspectRatio(int width, int height) {
        setAspectRatio(height * 1.0f / width);
    }

Original comment by sonmez...@gmail.com on 18 Jul 2011 at 1:03

GoogleCodeExporter commented 9 years ago
Hi,
This is Wrong.
becoz u havent properly calculate the aspect ratio.
thats why it will display two pages on the screen.

Original comment by rajeshpa...@gmail.com on 3 Sep 2011 at 12:19

GoogleCodeExporter commented 9 years ago
Hi,
This is Wrong.
becoz u havent properly calculate the aspect ratio.
thats why it will display two pages on the screen.
n also zoom problem 

Original comment by rajeshpa...@gmail.com on 3 Sep 2011 at 12:20

GoogleCodeExporter commented 9 years ago

Original comment by Torentsis@gmail.com on 6 Oct 2012 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago
i have probelm to load pdf in my own app horizontaly, could u guys solve ur 
problem?

Original comment by egol...@gmail.com on 3 Oct 2013 at 5:51