Set layout background to parts of a large image in Android -


i trying generate view pager swipe layout, instead of set of images, want use 1 enlarged image. when users swipes, layout should display portions of images single image.

to acheived view

i know how use view pager show different images. need above ui spec.

[edited] don't want implement viewpager anymore. have big image shown above. want display parts of image on event. example there 5 actions, , want divide image 5 parts , display based on action choosen dynamically. used bitmap files recreate part of image large image has low performance. (ui gets freezed). although create 5 different bitmaps before activity loaded, setting bitmaps background when user performs event freezes ui. please let me know if there alternate way show parts of image without using bitmap


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -