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

TOPIC:

Margin in every page 4 years 7 months ago #14520

  • ntyazid
  • ntyazid's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I am sorry Mr.,
How to set margin in every page?
like reader in google play book.
Attachments:

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

Margin in every page 4 years 7 months ago #14522

  • luca.f
  • luca.f's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 93
  • Thank you received: 10
Dear user,
this should work only in the "single page" modes:
you can achieve this by varying the value of m_page_gap, inside PDFLayout.java

You can also use two set methods, to do it programmatically:
PDFView.vSetPageGap
or
PDFLayout.vSetPageGap

If you want to change the color of the background below, just edit the value of Global.readerViewBgColor

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

Last edit: by luca.f.

Margin in every page 4 years 7 months ago #14523

  • ntyazid
  • ntyazid's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Thanks Mr, I will try it.

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

  • Page:
  • 1
Powered by Kunena Forum