On 2014-06-10, 11:22 AM, Brian Nicholson wrote:
Hey all,
There's a well-established animations framework called NineOldAndroids
(https://github.com/JakeWharton/NineOldAndroids/) by Jake Wharton that
allows us to use Android's animations API on pre-HC devices.
We have our own animations framework, but it's more limited. Arbitrary
example: it doesn't support PropertyValuesHolder to build animations,
which is what the "jiggle" animation uses in bug 1011712. In the past,
we've sometimes worked around this by simply omitting these animations
on older devices, but since there's a library that gives full
backwards-compatibility for the animations API, it seems like it would
be a good idea to use it.
As another example, using our existing framework to rotate the Sync icon
in the Remote Tabs tray was not feasible [1]: the framework can rotate
views, but not drawables inside views. Modifying the framework to reach
inside the view and change a drawable is significant work. Is NOA more
flexible, or is this something that is not well supported by Android's
animation API (no matter how it is expressed)?
Nick
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=998700
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev