Rich Android Path

Rich Android Path
CircleCI
Release
API
Twitter URL

💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.

Download sample app:

Features

  • Full Animation Control on Paths and VectorDrawables: Animate any attribute in a specific path in the VectorDrawable

fillColorstrokeColorstrokeAlphafillAlphasizewidthheightscalescaleXscaleYrotationtranslationXtranslationYtrimPathStarttrimPathEndtrimPathOffset.

  • Path morphing:

Just 3 Steps to Animate any path.

1. In your layout.

2. Find your richPath.

3. Use the RichPathAnimator to animate your richPath.

Example

notification icon vector drawable

XML

Java

Installation

Add the following dependency to your module build.gradle file:

Add this to your root build.gradle file (not your module build.gradle file) :

More Control by the RichPathAnimator

  • Animate multiple paths sequentially or at the same time
  • Which one of the paths is clicked?

TODO

  • Clickable path (Done)
  • Support clip-path
  • Path animation (animate a RichPath on a path)
  • Reverse animation

If you have any suggestion please open an issue for it.

Credits

  • florent37 He is the creator of ViewAnimator which gave me the idea of this project. Some core concepts and ideas were reused, but everything is written from scratch.
  • Android Some code is reused form the android source code and the VectorDrawableCompat support library.
  • Alex Lockwood The paths of the morphing sample is extracted from the Shape Shifter demo.

Developed By

(Visited 87 times, 1 visits today)

You May Also Like

About the Author: Android Developer

This is Mohammad I am Android Application Developer. I am the founder of Android Tutorial Online blog. I am programming lover and professional blogger from India. I spend most of my time doing programming and helping other programmers. This Android tutorial online blog for learning and share Android code.
My Chatbot
Powered by Replace Me