views:

27

answers:

0

Hi. I'm working on an Android app that requires the use of two (or more) ListView's positioned next to each other. I am at the moment using Android 1.6 and running in an emulator. I was able to successfully implement the basics with two ListView's as shown in the first image:

alt text

However I need some help in the navigation (with the directional keys) across the lists. The default behavior is that if I am for example in the 4th item in the first list (as seen in first the image) and I move to the right, my 'expected position' in the second list would be the 4th item as well. It does this fine but it will always scroll that item until it's the first visible child of the list (see second image).

Is there a way to prevent ListView from automatically scrolling the list? I still want it to focus on the row closest to the selected row in the previous list.