Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

display pdf filling all view 9 years 1 month ago #8686

  • mfsuarez
  • mfsuarez's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 9 years 1 month ago #8687

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
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