Android Lesson Learned: Drawable vector is ignoring color (svg shown black)

  • Posted on: 24 June 2016
  • By: robin

What you need to know when you want to support versions older than L and want to use vector (svg) drawables is that you cannot use the @color thing to pick your color. You need to take the oldfashion way with #HEXCODE. If you don't this will lead to black vector graphics on all devices running something older than L.

topic: 
Android, Development, vector, svg
Field: