<分区>
任何可以展示如何将特定抽屉导航合并到 Google Map v2 中的教程。
标签 android
<分区>
任何可以展示如何将特定抽屉导航合并到 Google Map v2 中的教程。
最佳答案
首先,这个 Google Map 与 Navigation Drawer 无关。两者是独立的。
您只需创建具有抽屉导航的 Activity/Fragment 并添加 SupportMapFragment 来显示您的 map ,并在抽屉导航项目加载完成后加载此 fragment 。
用于创建抽屉导航自定义和简单:
http://www.recursiverobot.com/post/59404388046/implementing-the-new-navigation-drawer-in-android
http://www.tutecentral.com/android-custom-navigation-drawer/
这是另一个链接
http://geck1.blogspot.in/2014/05/google-map-in-navigation-drawer-fragment.html
Android Drawer Example, how to implement Google Map Fragment
您可能会从中找到一些解决方法。
关于android - 关于如何将抽屉导航合并到谷歌地图的教程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25417991/
相关文章:
android - 如果可能,如何通过 Admob Network 暂停和恢复广告单元转换广告?
android - 如何在 Android O 上设置 Maskfilter 而不会崩溃?
c# - 无法让 TouchPhase 在 Unity3D 中工作
android - android 4.0.3 上操作栏中的 "back button"似乎使我的应用程序崩溃
android - 直接链接到 Google Play 上的应用
android - IntentService 和 AlarmManager 通信
android - 使用 FLAG_ACTIVITY_CLEAR_TOP 从非 Activity 类开始 Activity