I would like to create an xml selector of styles.
Basically i would do something like that:
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
style="@style/filter_btn"/>
<item android:state_pressed="false"
style="@style/transparent" />
</selector>
Could someone help me ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…