Actually it was the first solution I looked at - problem was it uses a
deprecated method, and there doesn't seem to be a way of doing it
without using the method - so for some reason I decided against trying
it out. But hey if it works, that's good enough.
On Apr 25, 12:37 pm, Filip Havlicek <havlicek.fi...@gmail.com> wrote:
> 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-...
>
> And if you want help, post your XMLs and code samples.
>
> 2011/4/25 Neilz <neilhorn...@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-o...
> > )
>
> > 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 <havlicek.fi...@gmail.com> wrote:
> > > Here you go
>
> > >http://tinyurl.com/3fha8xl
>
> > > 2011/4/25 Neilz <neilhorn...@gmail.com>
>
> > > > 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