Skip to content

Repository files navigation

AnimatedStateListDrawable

Experimental concepts using AnimatedStateListDrawable and ShapeShifter.

We are lucky as Android developers that vectors and animated vectors are finally now supported. Before this playful API was introduced, achieving the results below would likely involve subsclassing View, drawing to a canvas, managing animation listeners etc. The resutling code could be plentiful and verbose. For the most part, not even worth the hassle. Now, we can easily add these subtle improvements to our UI's and they are more easily managed to satisfy changing constraints.

Checkbox Example Realworld Example

About

Experiments with AnimatedStateListDrawable; <animated-selector> + <animated-vector> for controlling view state.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages