I am trying to generate a view pager swipe layout, where instead of a set of images, I want to use only one enlarged image. When users swipes, the layout should display portions of images from the single image.
I know how to use view pager to show different images. But I need help with the above UI spec.
[Edited] I don't want to implement ViewPager anymore. I have a big image as shown above. I want to display parts of that image on some event. For example there are 5 actions, and I want to divide this image into five parts and display it based on the action choosen dynamically. I used the Bitmap files to recreate the part of image from large Image but it has very low performance. (UI gets freezed). Although I create my 5 different Bitmaps initially before the activity is completely loaded, setting those bitmaps as background when user performs an event freezes the UI. Please let me know if there is an alternate way to show parts of image without using bitmap