tags:

views:

347

answers:

2
A: 

try this java code...i hope it is useful to you

LinearLayout layout=new LinearLayout(this);

LayoutParams layoutParam=new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.WRAP_CONTENT);
layout.setLayoutParams(new ScrollView.LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT));

layout.setOrientation(LinearLayout.VERTICAL); WebView detailsView=(WebView)findViewById(R.layout.jr_lb_view_preview_switcher); layout.addView(detailsView, layoutParam); detailsView.setVerticalScrollBarEnabled(true); ScrollView scroll=new ScrollView(this); scroll.addView(layout); setContentView(scroll);

Kandhasamy
friend, for using Webview zooming it's not a problem we can use your code,my question is to set zoom control for ImageView.
MGSenthil
A: 

refer this tutorial...

and also refer this question in stackoverflow

try the code on those links...

Kandhasamy