You seem to be missing some states. I would use
list_selector_background.xml as the basis for customizing a list
selector. You can find this in your SDK.

Beyond that, I have no other suggestions.

On Tue, Mar 15, 2011 at 8:18 AM, Hitendrasinh Gohil
<[email protected]> wrote:
>
> hi mark,
>
> i am checking it with touchscreen device.
> <?xml version="1.0" encoding="utf-8"?>
> <selector xmlns:android="http://schemas.android.com/apk/res/android";>
>     <item android:state_pressed="true"
> android:drawable="@drawable/list_pressedimg" />
> </selector>
> this selector file works with other listview not listactivity.so i just want
> to do like above when user taps on  listactivity item.
>
> thankx
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to