[英]How to control the Zoom of a WebView in android when a TextField in WebView is Clicked
Guys i have a WebView in my Screen with some TextFields in it. 伙计们,我的屏幕上有一个WebView,其中有一些TextField。 Whenever i click on a TextField my keyboard is opening along with that my WebView is Zooming automatically.How to resolve it.Any Suggestions
每当我单击TextField时,我的键盘就会打开,并且WebView会自动缩放。如何解决它。
Thanks&Regards, 感谢和问候,
Venkat. 文卡特
You could try overriding the standard behaviour of your webview by using a WebViewClient. 您可以尝试使用WebViewClient覆盖Web视图的标准行为。 More info on those can be found here .
关于这些的更多信息可以在这里找到。 Numerous examples of the implementation of the WebViewClient can be found by simply googling it.
通过简单地搜索WebViewClient,可以找到实现WebViewClient的众多示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.