Erstelle eine Auswahl von Stilen
Ich möchte einen XML-Selektor für Stile erstellen.
rundsätzlich würde ich so etwas tun:
<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>
Kann mir jemand helfen?