O'Reilly logo

Migrating to Android for iOS Developers by Sean Liao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Property Animations: API Level 11

In API Level 11, Android introduced a newer and more robust animation framework, property animation. If backward-compatibility is not your concern, you should use this framework instead of the older animation method. Not only does this framework affect how View elements are rendered visually, it also changes the target object properties with the defined animation methods.

To elaborate the potential problem of using the older view animation framework, let’s say that a button appears to be moved or resized due to the animation code, but the View geometry attributes actually remain unchanged, meaning the onClick region remains the same while the button appears in a different place. This isn’t good when the app ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required