如何隐藏在Android中取消隐藏的WebView [英] How to hide unhide webview in android
本文介绍了如何隐藏在Android中取消隐藏的WebView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开发应用程序,它具有的WebView和ImageView的(为的toogle按钮),如果单击按钮,然后WebView功能将被关闭,如果单击按钮一次,然后web视图将被打开。是否有可能在Android的?看到圆红色向上的箭头,可以隐藏或取消隐藏上面的横幅 我喜欢这个应用程序引用
I develop application which has webview and imageview(as toogle button), if button clicked then webview will be closed, if button clicked again, then webview will be opened. Is it possible in android? see the circle red with up arrow which can hide and unhide above banner My reference like this application
推荐答案
对于隐藏web视图
mWebView.setVisibility(View.GONE);
有关显示的WebView
for show the webview
mWebView.setVisibility(View.VISIBLE);
这篇关于如何隐藏在Android中取消隐藏的WebView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文