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

TOPIC:

Desactivate Zoom 10 years 1 month ago #9751

  • mfsuarez
  • mfsuarez's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Hello,

How can I desactivate Zoom in "def_view=3"?

I need to avoid that the user can zoom the document with the pinch gesture.

Thanks in advance.

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

Desactivate Zoom 10 years 1 month ago #9752

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
if you have a Professional or a Premium license you have to edit motionZoom method of PDFView class as following:
private boolean motionZoom(MotionEvent event){
	m_status = STA_NONE;
	return true;
}

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

Last edit: by Davide.

Desactivate Zoom 10 years 1 month ago #9753

  • mfsuarez
  • mfsuarez's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Hi,

I have standard license. How can i do it?

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

  • Page:
  • 1
Powered by Kunena Forum