I'd like to draw an animated self-filling circle upon an element/button in Android. I found how to draw circles on custom classes or animating buttons, but I'm trying to draw an animated circle inside a button or something else like an imageview.
Asked
Active
Viewed 519 times
1
-
Check this http://stackoverflow.com/questions/29381474/how-to-draw-a-circle-with-animation-in-android-with-circle-size-based-on-a-value – Cedric Franck Feb 24 '17 at 12:47
-
This draws a circle on a custom view, now I'm trying to draw it on a default view. – Bitle Apps Feb 24 '17 at 12:48
-
what is a default view ? – Cedric Franck Feb 24 '17 at 12:50
-
Anything like a Button / Imageview etc. – Bitle Apps Feb 24 '17 at 12:51
-
you mean inside a imageView? you can try to use DrawableLevels : https://developer.android.com/reference/android/graphics/drawable/LevelListDrawable.html – Cedric Franck Feb 24 '17 at 12:51