Experimental concepts using AnimatedVectorDrawable 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. Imagine you need 4 dots, or triangles instead?
Progress indicator | Chat app concept |
---|---|