Create complex XML drawings for Android

How powerful are Android XML-based drawings?

I'm really wondering if semi-complex bit objects like the following arrow icons can be replaced using only xml shapes.

enter image description here

So far, I have not seen many good examples of anything other than the basic ones. I know what <layer-list>can be used to combine figures, but it was difficult for me to work with them. In particular, the relative sizes and offsets of the shapes with <layer-list>do not seem to work well.

+4
source share
2 answers

Yes you can, but it's a pain in the ass .

SVG ( , android-svg), .

Unicode , TTF .
Android, , FontAwesome

[EDIT]

, ...

, XML:
http://looksok.wordpress.com/2013/08/24/android-triangle-arrow-defined-as-an-xml-shape/

[ 2]

(, ):

, Google:
android arrow xml drawables
( ):
android triangular xml drawables

, .

+1
+3

All Articles