[android-beginners] Re: Items in ListView don't get selected using touch

2009-06-22 Thread Odessa Silverberg
Did you tried playing with android:clickable/setClickable(boolean) http://developer.android.com/reference/android/view/View.html#attr_android:clickable android:focusable/setFocusable(boolean) http://developer.android.com/reference/android/view/View.html#attr_android:focusable or

[android-beginners] Re: Items in ListView don't get selected using touch

2009-06-22 Thread Yousuf Haider
Yes. None of them worked. Yousuf On Mon, Jun 22, 2009 at 1:40 AM, Odessa Silverberg silverberg.ode...@googlemail.com wrote: Did you tried playing with android:clickable/setClickable(boolean) http://developer.android.com/reference/android/view/View.html#attr_android:clickable

[android-beginners] Re: Items in ListView don't get selected using touch

2009-06-20 Thread Mark Murphy
No I don't get any visual feedback (no orange selection etc.) which makes me think that there is something on top which is blocking, like you said. As far as I can understand I don't think I have any component that is actually getting on top of it. Though how do I configure the z order of

[android-beginners] Re: Items in ListView don't get selected using touch

2009-06-20 Thread Yousuf Haider
In that case does that mean I can't have 2 elements in a relative layout that can both be clicked on by touching? Or is there a way of making all elements be in the same z order. Yousuf On Sat, Jun 20, 2009 at 5:47 AM, Mark Murphy mmur...@commonsware.comwrote: No I don't get any visual

[android-beginners] Re: Items in ListView don't get selected using touch

2009-06-19 Thread Yousuf Haider
I am sorry I phrased my question incorrectly. Restated: If I use the track ball to select an item and then press it the onListItemClick() method is called. However if I press an item on the list by touching the screen the method does not get called. In my other views where I my Layout contains

[android-beginners] Re: Items in ListView don't get selected using touch

2009-06-19 Thread Mark Murphy
I am sorry I phrased my question incorrectly. Restated: If I use the track ball to select an item and then press it the onListItemClick() method is called. However if I press an item on the list by touching the screen the method does not get called. In my other views where I my Layout

[android-beginners] Re: Items in ListView don't get selected using touch

2009-06-19 Thread Yousuf Haider
No I don't get any visual feedback (no orange selection etc.) which makes me think that there is something on top which is blocking, like you said. As far as I can understand I don't think I have any component that is actually getting on top of it. Though how do I configure the z order of