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

TOPIC:

about OnPDFBlankTapped 6 years 7 months ago #12824

  • manwon
  • manwon's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 1
I am testing the search bar. I press the next or previous button for searching. When I pressed those button, sometime will call the OnPDFBlankTapped. But I don't touch any blank place. How can I fix it?
Thank

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

about OnPDFBlankTapped 6 years 7 months ago #12825

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
can you reproduce it with the last demo project?
When the OnPDFBlankTapped is called, does the top bar disappear?
If yes, this means that you tapped outside the "next-previous" button area and the behavior is correct.
You can enlarge this area by adding padding or margin to the next-prev buttons in bar_find.xml

Before doing any test clean your project.

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

Last edit: by Davide.

about OnPDFBlankTapped 6 years 7 months ago #12826

  • manwon
  • manwon's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 1
Thanks for your replay. I resolved this issue.
I have another question about searching.
I just search some text. I pressed the close button to disable search toolbar and function. But I can see the searching result.
I want to disable searching result after press the close button

See the below image link
http://imgur.com/a/lbro7
Thanks

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

about OnPDFBlankTapped 6 years 7 months ago #12827

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
next time, you should split this question into another post.

To hide results you simply have to call :
m_view.PDFFindEnd();

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

about OnPDFBlankTapped 6 years 7 months ago #12828

  • manwon
  • manwon's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 36
  • Thank you received: 1
I cannot find the PDFFIndEnd function.

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

about OnPDFBlankTapped 6 years 7 months ago #12829

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
you will find it in PDFLayoutView

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum