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 w
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 nev
> 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 onListItemC
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 PROTECTED
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 s
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@googlegroups.c
> 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 th
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
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?
Hi,
In a ListView, items can either have focus (they are focused
themselves or contain a focused child) *or* be selected. They cannot
be both at the same time. If you *really* want to do this (which I
don't recommend), you can use a special XML attribute to tell the item
to copy its children stat
11 matches
Mail list logo