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

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.

[[{„type“:“media“,“view_mode“:“media_large“,“fid“:“112″,“attributes“:{„alt“:““,“class“:“media-image“,“height“:“45″,“typeof“:“foaf:Image“,“width“:“480″}}]]

[[{„type“:“media“,“view_mode“:“media_large“,“fid“:“113″,“attributes“:{„alt“:““,“class“:“media-image“,“height“:“41″,“typeof“:“foaf:Image“,“width“:“480″}}]]

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.