Maybe you should override the scrollview's dispatchTouchEvent, and detect if the touch event fired by the mapview, then decided who will handle that event.
On 4月4日, 上午9时47分, colintheprep <[EMAIL PROTECTED]> wrote: > Hi - anybody know if it's possible to have a mapview inside a > scrollview, and have it take focus such that it can move without the > scrollview scrolling? > > So I want: > scrollview > some stuff > mapview > some more stuff > > When I drag on empty space or tab between elements in stuff, the > scrollview scrolls correctly. But when the mapview is visible, and I > click on it, and try to move it around with the 'touchscreen', the > scrollview takes over and scrolls instead of the mapview moving. I'd > like to be able to 'focus' the mapview, such that it pans instead of > the scrollview scrolling, and then to restore focus to the scrollview > by clicking on empty space, or another item. > > any ideas? > > thanks! > Colin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---