Linjiajia
2023-12-29 590c1cff46b105d774271f950caa9f65523f05c1
app_base/src/main/res/values/arrts.xml
@@ -13,4 +13,21 @@
        <attr name="background" format="reference"/>
        <attr name="padding" format="dimension"/>
    </declare-styleable>
    <declare-styleable name="PlayButton">
        <!-- 线条颜色 -->
        <attr name="pb_lineColor" format="color" />
        <!-- 线条大小 -->
        <attr name="pb_lineSize" format="integer" />
        <!-- 动画时间 -->
        <attr name="pb_animDuration" format="integer" />
    </declare-styleable>
    <!-- 仿 ios 开关按钮 -->
    <declare-styleable name="SwitchButton">
        <!-- 是否选中 -->
        <attr name="android:checked" />
        <!-- 是否禁用 -->
        <attr name="android:enabled" />
    </declare-styleable>
</resources>