Skip to content Skip to sidebar Skip to footer

How To Slowly Scroll A Zoomed In Image Like In A Presentation?

Background I have some high quality images which I wish to show with some transition between them, like in a presentation. The problem Since Android has many screen types, for each

Solution 1:

OK, I've found a nice project called NotBoringActionBar , which has the same effect of swapping between images in the same manner i've asked for.

The class that is responsible for this is called "KenBurnsView.java" .

The original library is KenBurnsView .

EDIT: do note that this doesn't work well with dynamically created bitmaps, and I've posted about it here.

Solution 2:

I haven't tried this but here is an idea - You can programmatically zoom in on a particular part of the ImageView and periodically zoom in on other parts that can be cued by a thread.

See this answer for zoom implementation details

Example:

Begin by zooming in on the top left corner.

A thread will run and notify you every 200 ms or so.

On being notified, you call the zoom function again but slightly lower this time so that it appears to scroll down while being animated.

Continue till bottom right end is reached.

Hope this helps.

Post a Comment for "How To Slowly Scroll A Zoomed In Image Like In A Presentation?"