On Android, I have .png images added as a resource in my /res/ folder.
Question: I want to display an image from the resource filling a screen, but allowing the user to pinch-to-zoom it. What UI component do I use? An ImageView? A WebView?
On Android, I have .png images added as a resource in my /res/ folder.
Question: I want to display an image from the resource filling a screen, but allowing the user to pinch-to-zoom it. What UI component do I use? An ImageView? A WebView?
Put your image in the assets folder, and point the WebView to it. The WebView will do everything for you, in terms of pinch to zoom functionality.