Are there any Android Drawable designers?

六月ゝ 毕业季﹏ 提交于 2019-12-02 17:26:08

I faced the same problem and I've just released a little library on github that allow to export svg to drawable more quickly.

https://github.com/r3gis3r/svg2drawable

Hope can be useful for you.

For the sub-subset of rectangular ShapeDrawables there is a nice tool online at Angry Tools which allows one to edit a button's drawable:

http://angrytools.com/android/button/

I would suggest you using Vector Drawables, which are natively supported by Android 5.0+. There is an SVG to VectorDrawable Converter, so you can create SVG images in your favorite editor.

BetterVectorDrawable is the VectorDrawable implementation for Android 4.0+ with configurable fall-back behavior on Android 5.0+.

SVG to VectorDrawable Converter is the batch converter of SVG images to Android VectorDrawable XML resource files. Online version exists.

Links point to readmes, which provide enough information on how to use the lib and the converter.

The closest thing I've found since asking this question is DroidDraw. It is targeted at showing the screen layouts such as LinearLayout. It did not seem to support ShapeDrawable and the file management seemed a little confusing.

I'm thinking that it would be a good place to start looking at how to write an application that does manage ShapeDrawable.

Yes, there is.

https://play.google.com/store/apps/details?id=com.tiraisoft.drawabledesigner

It runs on Android so you can see the changes live.

Disclaimer: I'm the author

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!