Android: WebView onClick not work?
问题 I going to hide and show the Layout onclick of the webview. I have code like below: @Override public void onClick(View v) { switch(v.getId()){ case R.id.backButton: finish(); break; case R.id.webView: if(bottomShow){ bottomLayout.setVisibility(View.GONE); bottomShow = false; } else{ bottomLayout.setVisibility(View.VISIBLE); bottomShow = true; } break; } } I have also set the clickListener as like webView.setOnClickListener(this); but even after doing that i am not getting any effect. Why i am