vendredi 8 mai 2015

KenBurnsView creating smooth custom animation

I'm using the KenBurnsView library in here

But transition is not smooth and I don't know how to use the following code noted on github:

RandomTransitionGenerator generator = new RandomTransitionGenerator(duration, interpolator);
kbv.setTransitionGenerator(generator);

Can anyone help me how to create a smooth transition?

Aucun commentaire:

Enregistrer un commentaire