display pdf filling all view - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
01 Jun 2018
During last few days we're experiencing some delay in website stmp provider channel.
Some notification email from the website might not reaching containers.
We're working on a definitive solution.
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: display pdf filling all view

display pdf filling all view 3 years 3 months ago #8686

  • mfsuarez
  • mfsuarez's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Last edit: by mfsuarez.

display pdf filling all view 3 years 3 months ago #8687

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 834
  • Karma: 22
  • Thank you received: 65
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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum