I want to use the following selector that can be cut out for an Android gallery image, will it work?
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item state_selected="true" android:drawable="@drawable/selected_icon" >
</item>
<item
android:drawable="@drawable/unselected_icon" >
</item>
</selector>
I tried, but it does not work
d-man source
share