views:

67

answers:

2

When a user clicks in an input field or textarea, the application zooms in. Is there a simple way to disable it?

Currently have the meta tag: meta name="viewport" content="width=device-width; height=device-height; initial-scale=1.0; maximum-scale=1.0; user-scalable=no; target-densityDpi=device-dpi;"

Everything looks great till I look at it on a device with Android 2.2 Specifically HTC Evo 4G.

A: 

You should be able to use WebSettings.setSupportZoom(bool) to disable..

WebSettings settings = webview.getSettings();
settings.setSupportZoom(false);
Quintin Robinson
Already have that in the code as well and it doesn't seem to prevent the form fields from zooming in.
dlewis22