[android-developers] Re: ListView with rows that contain a button

2010-09-23 Thread grace
hi, as the button has the clickable property the listrow which holds the button doesnot hold this property. u can sroll down the list but u cannot click the list row. On Sep 24, 6:35 am, John Gaby wrote: > I have a ListView control for which I supply my own ListAdapter.  When > my adapter's 'get

[android-developers] Re: ListView with rows that contain a button

2010-09-23 Thread John Gaby
Thanks for the reply. So it is not possible to have a button and still be able to click the list row? That seems pretty limiting. On Sep 23, 9:22 pm, grace wrote: > hi, > > as the button has the clickable property the listrow which holds the > button doesnot hold this property. > u can sroll do

[android-developers] Re: ListView with rows that contain a button

2010-09-24 Thread viktor
Hi John, it is possible, in my example, I use ListView and all list items contain "button" (LinearLayout with selector), it works fine, I can push on item or on "button". And I set click listener for all buttons. I hope my information will be helpful. -- You received this message because you are

[android-developers] Re: ListView with rows that contain a button

2010-09-24 Thread John Gaby
Thanks for the reply. Did you do anything special to make it work? Can you suggest why it is not working for me? I am using a custom ViewGroup for the row views. Is there something I need to be doing there? Thanks On Sep 24, 2:11 am, viktor wrote: > Hi John, it is possible, in my example, I

[android-developers] Re: ListView with rows that contain a button

2010-09-27 Thread Brian
Viktor, would it be possible to see your example? On Sep 24, 2:11 am, viktor wrote: > Hi John, it is possible, in my example, I use ListView and all list > items contain "button" (LinearLayout with selector), it works fine, I > can push on item or on "button". And I set click listener for all > b