android webview zooming option.

All your problems with Audio, Video and Images.

android webview zooming option.

Postby ninad-madhav-diaspark-com » Tue Sep 21, 2010 12:07 pm

how can i prevent zoom controls in webview from disappearing after zooming in or out.

and these zoom controls show up only after sliding through the webview i.e. zoom controls do not show up autmatically as soon as webview loads up.

i have tried this code.

webview = (WebView)findViewById(R.id.webview); //getWindow().requestFeature(Window.FEATURE_PROGRESS);

WebSettings webSettings = webview.getSettings();
webSettings.setJavaScriptEnabled(true);
webSettings.setLoadsImagesAutomatically(true);
webSettings.setSupportZoom(true) ;
webSettings.setBuiltInZoomControls(true);
// findViewById(R.id.LinearLayout01).;



webview.invokeZoomPicker();

Thanx in advance. :D
ninad-madhav-diaspark-com
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Sep 21, 2010 10:03 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google [Bot] and 13 guests