File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,9 @@ ShapeImageView|AlmightyShapeImageView
122122# 二、AlmightyShapeImageView 使用说明
123123
124124### AlmightyShapeImageView 示例(库内内置 ❤️ [ ic_vector_heart] ( https://github.com/FlyJingFish/ShapeImageView/tree/master/library/src/main/res/drawable ) 和 ⭐️ [ ic_vector_star] ( https://github.com/FlyJingFish/ShapeImageView/tree/master/library/src/main/res/drawable ) )
125+
126+ ** 使用的关键在于设置一个图形资源图(即almighty_shape_resource),想做显示什么形状的图片只要设置一个资源图,就都可以实现**
127+
125128``` xml
126129<com .flyjingfish.shapeimageviewlib.AlmightyShapeImageView
127130 android : id =" @+id/iv1"
@@ -148,7 +151,7 @@ ShapeImageView|AlmightyShapeImageView
148151
149152### 图形资源设置提示
150153
151- ShapeResource就是让UI提前将图形导出的图片资源 ,可以是shape,可以是vector,可以是png图片,但是** 强烈建议使用shape或vector矢量图形效果更佳**
154+ ** almighty_shape_resource ** 就是让UI提前将图形导出的图片资源 ,可以是shape,可以是vector,可以是png图片,但是** 强烈建议使用shape或vector矢量图形效果更佳**
152155
153156如果使用是png或svg资源可以将其转化为vector,详情可以看我的博客:
154157
You can’t perform that action at this time.
0 commit comments