android gallery item selector

Posted by Faisal khan on Stack Overflow See other posts from Stack Overflow or by Faisal khan
Published on 2010-06-16T12:29:59Z Indexed on 2010/06/16 12:32 UTC
Read the original article Hit count: 547

Filed under:
|
|

I want to use following selector drawable for 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 is not working

© Stack Overflow or respective owner

Related posts about android

Related posts about gallery