views:

182

answers:

0

Hi Folks,

I have a two views. one is webview and another is a imageview. i set the auto zoom controls for the webview. like:

webview.getSettings().setBuiltInZoomControls(true);

i just changing visibility of both views using GONE and Visible. While changing my view form webview to image view, the zoom controls not lost is visibility for some time interval.

Is there any possible to hide and show the Autozoomcontrols. Any idea?

Edit:

I tried these methods. but not working.

webview.getZoomControls().setVisibility(View.GONE);
webview.getZoomControls().invalidate();