display pdf filling all view - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: display pdf filling all view

display pdf filling all view 3 years 1 month 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 1 month ago #8687

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 788
  • Karma: 20
  • Thank you received: 58
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