Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

display pdf filling all view

More
11 years 3 weeks ago - 11 years 3 weeks ago #8686 by mfsuarez
Hello,

I'm using the Global.def_view = 3. This navigate to next page useing swipe

My PDFReader is contained in a relative layout, center on the screen.

My problem is that the pdf is displayed with grey padding on the top and the bottom. I know that this in order to avoid deformation, but i need the pdf fill the whole view.

How can i force the pdf fill the PDFReader?

Many thanks and best regards.
Last edit: 11 years 3 weeks ago by mfsuarez.
More
11 years 3 weeks ago #8687 by nermeen
You can check other view modes, For example: the Vertical mode (1) fits the screen width, the single mode (3) fits the screen hight...etc.

If you want to use the single mode (3), but change how its layout, then you need to implement your own class that extends the PDFViewDual, and impement the behavior you want.
Time to create page: 0.385 seconds
Powered by Kunena Forum