Eric, I don't know much about Android yet, I just started studying it.
Do you know much of programing concepts? Mainly inheritance?

It happens that,l i think button its not a View, so, you wont be able to add
it to a ListView.

Try build a row composed by a Linear or a Relative layout. Add it your
schemma of the line, with textviews and button. Then use this new row
into your ListView. I think it may work.

I cheer here for you! Feedback me if it works.

On Thu, May 5, 2011 at 8:20 PM, Eric <[email protected]> wrote:

>
>
> On May 5, 7:11 pm, B Lyon <[email protected]> wrote:
> > So you were able to get everything to work without the trackball case?
>
> It depends on what you mean by 'work'.  I was able to hack things to
> work.  The ListView steals focus from the inner-widgets if you set an
> OnItemClickListener.  So I had to set an OnClickListener() on the
> ListView item View, and a separate OnClickListener() for the child
> button.  That works in so much as touch-clicks work, but the trackball/
> D-pad is broken for clicks.  Furthermore, I still haven't been able to
> figure out how to get the trackball to be able to focus into the
> Button instead of the entire list view cell.
>
> So, no, I would not say I have things working to anywhere near my
> satisfaction.  I am hoping there is one solution that will allow
> everything to work as I would expect it to above, which is in my
> opinion that way the UI should function.
>
> --
> 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
>



-- 
Giorgio Prímola F. G. Torres
Graduando em Ciência da Computação
Universidade Federal de Viçosa

<http://www.facebook.com/giorgio.torres>
<http://br.linkedin.com/in/giorgiotorres>
  <http://www.twitter.com/gprimola>
<http://www.flickr.com/photos/bygior>
<http://www.orkut.com.br/Main#Profile?uid=5773068796254932973>

-- 
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