Question

I would like to make the google maps viewable in another activity, that is, it does not take the entire screen. Is it possible to embed a google map map activty in another activity, so that, let's say, it takes half or 3/4 of the screen please?

Thanks in advance!

Was it helpful?

Solution

Try this:

http://mobiforge.com/developing/story/using-google-maps-android

You can use MapView as any other view - position and size as you like.

If you want to place MapView into ScrollView here is good solution to make sure it works correctly: MapView inside a ScrollView?

OTHER TIPS

You can include MapView in layout and code for the same in MapActivity with the portion you want for it.

Why do you want for it in another activity?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top