开发者

android:load mapview inside the activity

I have create the list-activity.Now I want to add new view with with map so that i can switch between views on menu select.Can anyone tell how to load th开发者_开发百科e map inside the same activity? it is necessary to take the map-activity to draw the map? i read some links here

Thank you.


Use ViewAnimator and have two child ListView and MapView. Your class should extend MapActivity and you can switch back and forth using ViewAnimator.


I have check some of the post and find out that for map view we need to extends the mapActivity.

If anyone have done it then please let me know.

Thank you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜