是否有任何Android的绘制对象的设计师?有任何、设计师、对象、Android

2023-09-04 23:56:49 作者:打小就拽

我想用更多的矢量图在我的Andr​​oid应用程序。提供了图像是不是节省空间或可伸缩的,因为我想它是。

I would like to use more vector drawings in my Android applications. Providing images isn't as space efficient or as scalable as I would like it to be.

Android提供了一系列绘制对象文件格式,如 ShapeDrawable ,它可以在一个 LayeredDrawable 组合。能走多远沿着这条道路,这将是很好,如果有一个设计的可视化效果,做图中,并处理所有​​生成的文件。

Android provides a series of Drawable file formats, such as ShapeDrawable, which can be combined in a LayeredDrawable. To go very far down this path, it would be nice if there was a designer for visualizing the results, doing the drawing in, and handling all the resulting files.

C#WPF有防爆pression混合,Adobe公司的Flash CS4,与iPhone有透明度。所以我的问题是,有没有一个设计师或绘图工具为Android?

C# WPF has Expression Blend, Adobe has Flash CS4, and the iPhone has Opacity. So my question is, is there a designer or drawing tool for Android?

注:其他的问题都谈到了在Android中使用SVG。 Android不具备对SVG的原生支持,所以只有这样,才能做到这一点是与外部库。我想,以避免这一点,我要求开发商端工具。一个SVG到绘制对象转换器就可以了,但我不知道一个。

Note: Other questions have talked about using SVG in Android. Android doesn't have native support for SVG, so the only way to do it is with an external library. I would like to avoid that and am asking for a developer side tool. An SVG to Drawable converter would be fine, but I'm not aware of one.

推荐答案

我会建议你使用Vector可绘制,这是由安卓5.0+原生支持。有一个 SVG到VectorDrawable转换,这样你就可以在你喜欢的编辑器创建SVG图像。

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 是VectorDrawable实现为Android 4.0以上版本对Android的5.0配置的回退行为+

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

SVG到VectorDrawable转换是SVG图像的批量转换到Android VectorDrawable XML资源文件。 在线版本存在。

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

链接指向自述,它提供了有关如何使用lib和转换器足够的信息。

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