Hi,

I try to make a little app with picture zoom in and out. I think i
find the easiest way with WebView.
Code:

WebView web = (WebView) new WebView(context);
web.loadUrl("file:///sdcard/pic.jpg");
web.getSettings().setBuiltInZoomControls(true);
web.setBackgroundColor(0);
web.setVisibility(ImageView.VISIBLE);

Is there any way to load a picture from res/drawable?

Thanks for answer

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to