Hi Romain,
I dont want the list items to be selected. But i have a  button in the
listItem which has to be focused when i use the navigation keys..

I tried by setting the ListView.setItemsCanFocus(false);
It is still getting the focus..

Please help..

REgards,
Don

On Thu, Jan 22, 2009 at 12:52 PM, Romain Guy <[email protected]> wrote:

>
> You need to tell ListView that the list items are focusable. Use
> ListView.setItemsCanFocus(true).
>
> On Wed, Jan 21, 2009 at 11:17 PM, Don Rules <[email protected]>
> wrote:
> > Hi Folks,
> > I have a list view, in which each of the list item contain a TextView and
> a
> > button.
> > when i click the button, the list item is deleted. Anyways i have
> > implemented this feature.
> >
> > I have a problem in focusing the button..
> >
> > I dont want the listitem to get selected. rather i need the button to be
> > focused, while i scroll through list items.
> >
> > Can anyone please help on this..
> >
> > Thanks in advance,
> >
> > Regards,
> > Don..
> >
> > >
> >
>
>
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to