<?xml version="1.0" encoding="UTF-8"?>
-<resources>
-<declare-styleable name="RotateTextView">
<attr name="degree" format="dimension"/>
</declare-styleable>
-<declare-styleable name="CircleImageView">
<attr name="border_width" format="dimension"/>
<attr name="border_color" format="color"/>
</declare-styleable>
-<declare-styleable name="CropImageView">
-<attr name="guidelines">
<enum name="on" value="2"/>
<enum name="onTouch" value="1"/>
<enum name="off" value="0"/>
</attr>
<attr name="fixAspectRatio" format="boolean"/>
<attr name="aspectRatioX" format="integer"/>
<attr name="aspectRatioY" format="integer"/>
<attr name="imageResource" format="reference"/>
</declare-styleable>
</resources>
圆形图片-----attrs.xml
最新推荐文章于 2021-11-06 17:25:07 发布