Why didn't you try the Reto Meier solution? Third link from the Google search.
And if you want help, post your XMLs and code samples.
2011/4/25 Neilz <neilhornsey@gmail.com>
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...
> 2011/4/25 Neilz <neilhorn...@gmail.com>
On Apr 25, 11:18 am, Filip Havlicek <havlicek.fi...@gmail.com> wrote:
> Here you go
>
> http://tinyurl.com/3fha8xl
>
-->
>
>
>
>
>
>
> > 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment