Create KenBurns with minimum possible zoom


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 ?


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.


  • How do I change the creation time of a file to a newer date in Mac OS X?
  • Is it possible to add tickboxes in a DT datatable?
  • Member function of incomplete class as friend = formally valid?
  • ReplaceWith carousel-inner with new items
  • How to push ViewController with slide effect from left to right? Animation name required
  • Transition height onload of d3js rect svg
  • Bootstrap Carousel Next/Prev not working
  • position: fixed with margin: auto in IE9/10
  • Pie-in-pie (Donut) charts
  • How to correctly append dynamic GetUIKit accordions?
  • Java language convention; getters/setters
  • How do I use SFSafariViewController with a dark theme like this user?
  • AOT and JIT with build-optimizer
  • How to customize whisker lines on a geom_box plot differently than the lines of the box itself
  • Plotting A Hyperboloid
  • WebApp in AppServices vs CloudService
  • Unable to set a breakpoint on main while debugging a program compiled with Rust 1.10 with GDB
  • How do i find all references to a user control
  • CKeditor stripping font tags instead of converting to span
  • Ionic Slide Up Slide Down Animation for only one view in sidebar
  • Action Pack components in Rails
  • Calling Rcpp function with Xptr and Function - only xptr case works
  • LESS CSS how to modify parent property in mixin
  • Prevent Tomcat from caching request during starup
  • How to determine if there are bytes available to be read from boost:asio:serial_port
  • why xml file does not aligned properly after append the string in beginning and end of the file usin
  • HTTP/2 streams vs HTTP/1.1 connections
  • Atlas images wrong size on iPad iOS 9
  • Python CGI os.system causing malformed header
  • Syntax for setting draggablecursor property in google maps api
  • Sending data from AppleScript to FileMaker records
  • Jquery - Jquery Wysiwyg return html as a string
  • Akka Routing: Reply's send to router ends up as dead letters
  • GridView Sorting works once only
  • Confusion with PayPal's monthly billing cycle
  • Is there a mandatory requirement to switch app.yaml?
  • How to get icons for entities from eclipse?
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Load html files in TinyMce