androidcrew wrote:
> Same questen here. has no one any idea?!
> 
> On 28 Jun., 07:49, chouman82 <[email protected]> wrote:
>> i am having a hard time figuring out how in the google map
>> application, it is able to have buttons on the mapview.  I am talking
>> about the textbox and the two arrow buttons that show up after you do
>> a search.  The textbox and the two arrows also does not stay on screen
>> when you pan the map.  anyone has any idea or know where to look for
>> info please shed some light.
>>
>> i have spent a few days looking around for answers and end up with
>> nothing still.

Use a FrameLayout. Or a RelativeLayout. Anything that appears later in
the layout will appear "above" things that are earlier in the layout, if
they overlap.

For example, take a look at vidtry:

https://github.com/commonsguy/vidtry/tree

While this shows a SurfaceView (actually, a
com.commonsware.android.vidtry.TappableSurfaceView) instead of a
MapView, the concept is the same. Because the SurfaceView and other
stuff are in a FrameLayout, and the other stuff is later in the
FrameLayout than the SurfaceView, the other stuff will float atop the
SurfaceView when it is made visible.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Looking for Android opportunities? http://wiki.andmob.org/hado

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