I am using this <a href="https://github.com/flavioarfaria/KenBurnsView" rel="nofollow">library</a>
I am trying to create app with minimal possible zoom. In my application I have small area where the images are presented as slide show. But the images are big so when kenburns effect starts it it zoomed too much.
How can I set the zoom level ?Answer1:
You need to create your own
TransitionGenerator. If you want the keep the random movement and control the zoom, a good place to start is to base your custom
TransitionGenerator off <a href="https://github.com/flavioarfaria/KenBurnsView/blob/master/library/src/main/java/com/flaviofaria/kenburnsview/RandomTransitionGenerator.java#L120" rel="nofollow">this one</a>. The highlighted line (120) uses a random zoom factor. Hardcoding it will do what you need.