I would like to change the predefined style of the zoom controls in my application to appear like the new zoom controls in the google maps application. See below:
How can I do it? I have been looking around and I haven't found anything.
Thanks in advance.
You should have four image drawables namely:
Put them in
MapView
layout anImageView
orButton
with background image as the above drawables.Then you should assign onClickListeners like:
EDIT:
I solved the problem this way: disabled built in zoom controls (
setBuiltInZoomControls(false)
), added my own buttons to UI and added handlers for click on button events.