[android-developers] Re: MapView Zoomer behavior, how?

2009-03-15 Thread Mariano Kamp
Hey Tim, just a quicky regarding the fading out: An alarm seems a bit heavy handed. You can use http://developer.android.com/reference/android/view/View.html#postDelayed(java.lang.Runnable,%20long)to post a Runnable that does the fading out for you. I found that idea in the Camera application'

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-15 Thread Mark Murphy
Tim Bray wrote: > Appearing on any map interaction. OK... use the mapView's onTap to > make an Overlay visible. Fading in. OK, simple alpha animation. > Fading out upon no user action. OK... set an alarm and so on. I > can do all these things, I was just hoping to avoid writing a couple > h

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-14 Thread Tim Bray
On Sat, Mar 14, 2009 at 5:24 PM, Mark Murphy wrote: > > Tim Bray wrote: >> I'd like to implement something on a MapView that acts much like >> Zoomer - slides in whenever you touch the map, then fades after a bit >> of inactivity. > > What are the specific feature(s) you are seeking code for? Ap

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-14 Thread JP
By using Overlay http://developer.android.com/reference/com/google/android/maps/Overlay.html and MapController http://developer.android.com/reference/com/google/android/maps/MapController.html and possibly subclassing MapView you can create pretty much any manipulation you could wish for. On Mar

[android-developers] Re: MapView Zoomer behavior, how?

2009-03-14 Thread Mark Murphy
Tim Bray wrote: > I'd like to implement something on a MapView that acts much like > Zoomer - slides in whenever you touch the map, then fades after a bit > of inactivity. What are the specific feature(s) you are seeking code for? -- sliding? -- fading? -- touching? -- something else? -- Mark