Issue
How to change the position of the Map controller (zoon in/out) in MapView in android other than the default position in the bottom ?
Solution
zoomView = (LinearLayout) mapView.getZoomControls();
zoomView.setLayoutParams(new ViewGroup.LayoutParams
(ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT));
zoomView.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL);
mapView.addView(zoomView);
Answered By - Adham
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.