如何在显示地图的应用程序中显示操作栏并使用 mapActivity。我不能使用 Sherlock 操作栏,因为它应该是SherlockActivity并且我有 MapsActivity。我必须从 Api 级别 9+ 开始支持它。从 11+ 开始,我实现了本机操作栏,并且效果很好。我必须使用地图 API 版本 1,并且不能在此使用新版本 2 谷歌地图。
问问题
649 次
1 回答
1
Probably have a look at the new Google Play Services. I read they with a new Maps API which lets you use MapFragments. You could probably use these Fragments in an Sherlock based activity. Another way would be to use a TabHost to host the MapActivity inside an Sherlock based activity. But i don't know how performant that would be.
于 2012-12-07T09:02:15.267 回答