• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Custom Animation

petpeter

Lurker
Hi, I want to make custom animation that would make the sides of a Button go to the center and back. When the user touches the button, the center of the left boundary and center of the right boundary of the button to go the center of the View (Button) and back (as animation). Like this: http://i.imgur.com/cPXC3.png?4691 Now I don't know if I should do this with custom animation implementing applyTransformation() or with redrawing of the Button with onDraw(Canvas) overriding. What is the correct way to achive this?
 
Back
Top Bottom