在操作栏中的选项卡多地图片段 [英] Multiple Map fragment in action bar tab
本文介绍了在操作栏中的选项卡多地图片段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
基本上,我试图做的是
TAB1 - >组织碎片地图
TAB2 - >城市地图
Basically what i am trying to do is Tab1 -> Organisation Map Fragment Tab2 -> City Map
我应该如何去这样做。我尝试以下一些教程,但它给我的错误:你被允许在一个单一的MapViewActivity MapView类。可有一个人请帮我
How should I go about doing this. I tried following some tutorials but it gives me the error "You are allowed to have single MapView in a MapViewActivity". Can some one please help me out
推荐答案
这是不可能做到这一点。由于有消息称,每次活动只有一个地图。
It's not possible to do this. As the message says, only one map per Activity.
这篇关于在操作栏中的选项卡多地图片段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文