Why didn't you try the Reto Meier solution? Third link from the Google
search.

http://stackoverflow.com/questions/263507/placing-zoom-controls-in-a-mapview

And if you want help, post your XMLs and code samples.

2011/4/25 Neilz <[email protected]>

> Oh my sides are splitting.
>
>
> Ok, I've done some searching, and found a half solution... but it's
> not without issues:
>
> I've set my own ZoomControls object, in the layout xml, and added
> listeners to activate the zooms (as per this link...
>
> http://stackoverflow.com/questions/920741/always-show-zoom-controls-on-a-mapview
> )
>
> But the only issue is that the zoom buttons don't disable themselves
> when fully in/out. It says you can use the following line to rectify
> this:
>
> mapView.getZoomButtonsController().setAutoDismissed(false);
>
> ...but because I'm not using the built-in-zoom-controls, this doesn't
> work. There doesn't seem to be a way of accessing and controlling the
> buttons from my own ZoomControls object...
>
> On Apr 25, 11:18 am, Filip Havlicek <[email protected]> wrote:
> > Here you go
> >
> > http://tinyurl.com/3fha8xl
> >
> > 2011/4/25 Neilz <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> > > When I tap my map, the zoom controls appear in the center of the
> > > screen at the bottom.
> >
> > > Is it possible to control where they sit? I notice on the google maps
> > > app, they are aligned into the bottom right corner of the map, which
> > > is what I'd like to do in my own map activity.
> >
> > > Thanks.
> >
> > > --
> > > 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
>
> --
> 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
>

-- 
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

Reply via email to