[英]Web-view full-screen mode
i have set swf file in webview
i got everything is successfully but when i long press it give me option of full-screen so i need to avoid it how can i do that ?? 我已经在
webview
设置了swf文件,我一切都成功了,但是当我长按它时,可以选择全屏显示,所以我需要避免它怎么办?
here i have attach image : 我在这里附上图片:
Here is my webview : 这是我的网页视图 :
wv_introduction = (WebView) findViewById(R.id.ady_solwv);
wv_introduction.getSettings().setJavaScriptEnabled(true);
wv_introduction.getSettings().setPluginState(PluginState.ON);
wv_introduction.getSettings().setAllowFileAccess(true);
wv_introduction.loadUrl(str_url);
Try adding these: 尝试添加以下内容:
wv_introduction.getSettings().setLoadWithOverviewMode(false);
wv_introduction.getSettings().setUseWideViewPort(false);
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.