android 应用程序中的 ShapeDrawable 与 Png 图像
ShapeDrawable Vs Png images in android app
在 android 应用程序结构的 res 文件夹中使用可绘制形状或 png 图像时的差异
哪个在性能、apk 大小和绘图复杂度方面更好。
这取决于你的 drawables 数量,我只是建议你使用 Image drawable (.png),
这里是一些建议的链接:
Performance wise, what is typically better, using an image or a xml created shape as a drawable?
Android Drawable Drawing Performance?
在 android 应用程序结构的 res 文件夹中使用可绘制形状或 png 图像时的差异
哪个在性能、apk 大小和绘图复杂度方面更好。
这取决于你的 drawables 数量,我只是建议你使用 Image drawable (.png),
这里是一些建议的链接:
Performance wise, what is typically better, using an image or a xml created shape as a drawable?
Android Drawable Drawing Performance?