I used another way to solve the problem by using layout in xml.  (coz I am
not good in programming)  but just want to know if I can automatically
highlight the first one in listview?

hatted

On Thu, Jul 15, 2010 at 5:22 PM, Pratap <[email protected]> wrote:

> Hi
>
> I think the default behaviour of the trackball is to change focus on
> all the focusable items.
> For any other specific purposes you can override the
> onTrackballEvent(MotionEvent event) and get notifications for
> trackball motion.
> In this method you can definitely change the background of buttons.
>
> I hope this helps :)
>
> On Jul 15, 1:04 pm, hatted <[email protected]> wrote:
> > can i use trackball to move around buttons?  then if i am on the
> > button, can I change the background of the button just like highlight?
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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