<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content">
<item
android:drawable="@drawable/ic_off"
android:state_checked="false" />
<item
android:drawable="@drawable/ic_on"
android:state_checked="true" />
</selector>
会报Element selector doesn't have required attribute 的错 ,这是什么问题啊
gaiyinn
相关分类