1

I am creating a android web application.
Can I anyhow disable the zoom functionality on the webpage ?
In others words I want it could not be resized. help

user
  • 65
  • 1
  • 8

3 Answers3

1
 zoom_controll.getZoomControls().setVisibility(View.GONE);
Shivang Trivedi
  • 2,182
  • 1
  • 20
  • 26
0

On the meta tag section of your HTML use minimum-scale=1 to set your viewport.

<meta name="viewport" content="initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,width=device-width,user-scalable=no" />

Click here is for thorough explanation

How ever i must add that part of that functionality depends on the device's native functionality

Community
  • 1
  • 1
Simo Mafuxwana
  • 3,702
  • 6
  • 41
  • 59
0

see if it helps :

<head>  
  <meta name="viewport" content="target-densitydpi=device-dpi, initial-scale=1.0,   user-scalable=no" />  
</head>  
iAmLearning
  • 1,153
  • 3
  • 15
  • 28