Re: [android-developers] Re: button highlight

2010-07-15 Thread hatted
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 wrote: > Hi > > I think the default behaviour of the trackball is

[android-developers] Re: button highlight

2010-07-15 Thread Pratap
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.

[android-developers] Re: button highlight

2010-07-15 Thread Pratap
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.