Make Kenburnsview Fit And Fill Given Area
My App uses KenBurnsView (wonderful piece of code, thanks!), and it works well with ScaleType.FIT_CENTE mode, but some users just prefer to see the whole, non cropped image instead
Solution 1:
You can take two different approaches:
Use a standard
ImageView
together withKenBurnsView
and switch visibilities according to what your users want to see.Write your own
TransitionGenerator
that doesn't do any transition at all. You can find some information about how to do it here: Define zoom/pan start position with KenBurnsView
IMO, the former approach is much simpler and makes more sense.
Post a Comment for "Make Kenburnsview Fit And Fill Given Area"