Scrolling a Picture (horizontally and vertically)

Tutorials with advanced 'difficulty' and more Lines of Code.

Re: Scrolling a Picture (horizontally and vertically)

Postby auromir » Fri Jan 27, 2012 7:06 pm

Hi
Very useful post. I tried your code and it works!!. But i am able to scroll only a part of image. Is their anything i missed in the code. Find my code below
scrollImageView = new ImageScroller(this,
BitmapFactory.decodeResource(getResources(), R.drawable.my_image),
d.getWidth(), d.getHeight(),
null);
setContentView(scrollImageView);

ImageScroller is the "scrollImageView " class. just copied and renamed.
auromir
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Jan 27, 2012 7:01 pm

Top
Previous

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests