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

2009-06-22 Thread Yousuf Haider
:48 am, Yousuf Haider yousuf.r...@gmail.com wrote: 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

[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] Items in ListView don't get selected using touch

2009-06-19 Thread Yousuf Haider
Hi, I have a relative layout which contains 2 things. Something like this: RelativeLayout: ---LinearLayout --Some buttons --TextView --ListView If I use the trackball to scroll I can select items in my list view. However if I try to touch an item to select it the item

[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 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