dev
dev

Reputation: 11339

Property animations vs View animations for new Android code

I am new to Android animations and am reading the introductory articles. The developer guide says that View animation is an older system and easy to use

As a beginner, should I invest any time understanding how view animations work, or should I focus completely on Property animations ? Is there something property animations are not capable of doing ? Is it "comparatively" very difficult to use property animation for simple stuff like rotate/translate ?

Upvotes: 7

Views: 2784

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007658

As a beginner, should I invest any time understanding how view animations work, or should I focus completely on Property animations ?

I suggest that you focus completely on property animations. At this point, you should be focused on Android 3.0+, where property animations are available. If you need to get your code working on older devices, NineOldAndroids offers a backport of some of the property animation APIs.

Is there something property animations are not capable of doing ?

Not that I can think of. Property animations are substantially more powerful, less of a hassle, and more efficient.

Is it "comparatively" very difficult to use property animation for simple stuff like rotate/translate ?

IMHO, it is substantially easier to use property animations for simple stuff like rotations and translations.

Upvotes: 8

Related Questions