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

TOPIC:

PDFViewThumb initial position 4 years 7 months ago #14549

  • thiagopelikan
  • thiagopelikan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 0
I'm using PDFViewThumb on my project but it´s first page position is centered on screen. Is it possible to show the first page at the left side of my screen?

Tks,
Thiago

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

PDFViewThumb initial position 4 years 7 months ago #14554

  • thiagopelikan
  • thiagopelikan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 0
I'm sending an image to show what I need! Tks
Attachments:

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

Last edit: by thiagopelikan.

PDFViewThumb initial position 4 years 7 months ago #14557

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
line 100 in PDFViewThumb.java
origin codes:
            int left = m_w / 2;
            int top = m_page_gap / 2;
you shall change to:
            int left = m_page_gap / 2;//m_w / 2;
            int top = m_page_gap / 2;
The following user(s) said Thank You: thiagopelikan

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

PDFViewThumb initial position 4 years 7 months ago #14562

  • thiagopelikan
  • thiagopelikan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 0
Great! Tks!

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

  • Page:
  • 1
Powered by Kunena Forum