Using Vector Drawable by Drawing on Canvas

  • I have imported SVG into my project as Vector Drawable.
  • I have a custom view

I know how to display a vector using ImageView by code ( http://www.androidhive.info/2017/02/android-working-svg-vector-drawables/ ) which is described in several articles, but:

How can I draw my vectors using my custom view and canvas code? Is it possible to do this. And if so, can someone give me a hint.

+3


source to share





All Articles