Hi! I am trying to show the zoom controls over a MapView in the new 0.9 SDK.
I have been able to show the zoom Control View using the following code // Zoom View View zoomView = mMapView.getZoomControls(); zoomView.setLayoutParams(new ViewGroup.LayoutParams (ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT)); mMapView.addView(zoomView); mMapView.displayZoomControls(true); Using this code, I have been able to show the Zoom Control View at the top-left edge the screen (over the map). However, I will want it to be a the bottom of the screen, and I do not know how to move it to that position. I have tried to use de ViewGroup method requestChildRectangleOnScreen, in order to move the zoomView to the position I want, but I have been not able to make it work. Can anyone help me with this issue? --~--~---------~--~----~------------~-------~--~----~ 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 Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---