common/src/main/res/values/attrs.xml
@@ -53,6 +53,8 @@ </declare-styleable> <declare-styleable name="SlideSwitchView"> <!-- 是否能手动点击 --> <attr name="switchEnable" format="boolean"/> <!-- 背景颜色 --> <attr name="switchBackgroundColorUnchecked" format="color"/> <attr name="switchBackgroundColorChecked" format="color"/>