Issue
how can I check the visibility of a webview? There is no option like
webview.visiblity == View.Gone;
or
webview.getVisibility
or sth similar...
Thank you :)
Solution
You can check like this
if (webView.getVisibility() == View.VISIBLE) {
//Visible
}else if (webView.getVisibility()==View.GONE) {
//Gone
}else {
//invisible
}
check for more http://developer.android.com/reference/android/view/View.html#getVisibility%28%29
Answered By - kalyan pvs
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.