Code example for WebView

Methods: requestFocussetVisibility

0
Activity a = UnityPlayer.currentActivity;
		a.runOnUiThread(new Runnable() {public void run() {
 
			if (visibility) {
				mWebView.setVisibility(View.VISIBLE);
				layout.requestFocus();
				mWebView.requestFocus();
			} else { 
				mWebView.setVisibility(View.GONE);
			} 
 
		}}); 
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE