SherlockActionBar在MapActivitySherlockActionBar、MapActivity

2023-09-07 15:00:54 作者:覆手天下山河碎

我使用的是福尔摩斯操作栏广泛遍布我的应用程序,但我有一个从MapActivity继承的活动,因此,我不能让它从SherlockActivity继承。

I'm using the Sherlock Action Bar extensively throughout my application, but I have an activity which inherits from a MapActivity, and thus I can't make it inherits from SherlockActivity.

有什么办法我可以在地图上使用的福尔​​摩斯操作栏,所以我可以自定义呢?

Is there any way I can make use of the Sherlock Action Bar in the map so I can customize it?

最佳,曼努埃尔。

Best, Manuel.

推荐答案

您必须下载地图插件:

https://github.com/JakeWharton/ActionBarSherlock-Plugin-Maps/downloads