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
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
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.
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
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
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
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
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?
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
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
10 matches
Mail list logo