[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-10-14 Thread Disco Stu 010
Hi Romain Guy, What is the attribute you mention below that makes ListView items selectable or focusable? i.e., how/what does one change to make ListView items focusable by default (and not selectable)? Thanks, Nitin. On Aug 27, 2008, at 1:28 PM, Romain Guy wrote: So, in conclusion, I

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-10-11 Thread Craig
Also trying to have a list item with a check box in it :( Can I just point out that the alarm clock in sdk 1.0 has exactly what myself and other people in this thread are trying to accomplish. A list item with some text and a check box, with both controls independently clickable. If only google

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-09-11 Thread Pau
Thanks Mark, I'll try it. On 10 sep, 20:07, Mark Murphy [EMAIL PROTECTED] wrote: This is my problem: My application has a ListView and every row has a TextView and a Checkbox. Checkboxes work correctly, but TextViews can't be selected and thus onListItemClick method is never called.

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-09-10 Thread Pau
Hi, This is my problem: My application has a ListView and every row has a TextView and a Checkbox. Checkboxes work correctly, but TextViews can't be selected and thus onListItemClick method is never called. I need the two functions. What can I do? Pau On 5 sep, 21:08, kingkung [EMAIL

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-09-10 Thread Mark Murphy
This is my problem: My application has a ListView and every row has a TextView and a Checkbox. Checkboxes work correctly, but TextViews can't be selected and thus onListItemClick method is never called. I need the two functions. What can I do? Use a context menu instead of

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-09-05 Thread kingkung
I think I have a similar problem... I want to be able to check and uncheck items, but some of my items, in their checked views, contain links which I think rob the focus so that the onClickListener no longer works on that item. The link works fine, though. What should I do? What Romain Guy

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-08-28 Thread marielisacr
Thanks very much for the suggestions and the answer, I will try that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-08-27 Thread marielisacr
Hey Romain thanks for the answer, So, in conclusion, I can have a focusable item or a focusable child into the item but not both. That means, for example, that if I want to have a list of songs, where if I select one I play it, and each one have a button to add to one playlist is not possible?

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-08-27 Thread sacoskun
Hello marielisacr, That means, for example, that if I want to have a list of songs, where if I select one I play it, and each one have a button to add to one playlist is not possible? If I were you, I would go for standard select handler in order to play the selected song and I would come up

[android-developers] Re: ListView - If you have a item that can focus you can select the Item

2008-08-27 Thread Romain Guy
So, in conclusion, I can have a focusable item or a focusable child into the item but not both. No, items in a ListView are not focusable by default, they are selectable. So an item can be focusable (it gets focus or one of its children gets focus) OR selectable, but not both. You can make the