• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to scroll an image in an app??

taylormah

Well-Known Member
First of all, I am totally noob in android development. I want to show an image in the middle of the screen in the activity, but not the full image, only a part of it. Then I want to have some buttons which can scroll the image in all directions. This is very very basic app, nothing fancy about it. Can you please tell if ImageView would be right choice for this scrolling image app??

How do I show only part of the image at a time? Is there a way I could specify x and y coordinates of pixels on the image, and length and width of the rectangle of scrolling image box to accomplish my goal??
 
Back
Top Bottom