Skip to content

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

License

Notifications You must be signed in to change notification settings

fish-4-fun/animated-statelist-drawable

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages