5

I have gridView which has lot of images and on clicking the edit button, I want the images to wobble just like : how to create iphone's wobbling icon effect?. Appreciate any pointers to solve this issue.

Community
  • 1
  • 1
Nick
  • 185
  • 1
  • 12

2 Answers2

0

You can start off by modeling the wobble effect as a combination of Animations that Android provides. You can then extend an ImageView and use an AnimationSet of this combination of Animations.

Vikram Bodicherla
  • 7,133
  • 4
  • 28
  • 34
0

You can create an xml that defines how the ImageView will be animated, load the animation in code referencing this xml and then apply it. A brief documentation here.

Cassio Landim
  • 1,929
  • 23
  • 25