Have you considered using your own zoom controls? On Mar 14, 10:44 am, mcmatom <[email protected]> wrote: > UPDATE: I have managed to get this working, but it still has a "hacky" feel > to me since it is completely reliant on the placement of the zoom controls > forever being at the bottom of the screen. I am open to any suggestions on > how to handle this more appropriately. For anyone interested, the code > snippet placed into *OnSingleTapUpConfirmed* follows: > > ZoomButtonsController zBC = mView.getZoomButtonsController(); > View zcView = zBC.getZoomControls(); > > int iMapHeight = mView.getHeight(); > > Rect zoomHit = new Rect(); > zcView.getHitRect(zoomHit); > > zoomHit.top = iMapHeight - zcView.getHeight(); > zoomHit.bottom = iMapHeight; > > RectF rectFloat = new RectF(zoomHit); > if (rectFloat.contains(e.getX(),e.getY())) { > return false; > }
-- 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

