导航抽屉谷歌地图V2,地图阻止抽屉 [英] navigation drawer google maps v2 , map blocking drawer

查看:270
本文介绍了导航抽屉谷歌地图V2,地图阻止抽屉的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在姜饼打开抽屉时,我有这个问题的背后是谷歌地图V2。地图应该是在屏幕后面获取放在第一位。

I have this problem when opening drawer on gingerbread and behind is google map v2. Map that should be on screen behind gets on top of everything.

现在,我可以通过隐藏地图抽屉打开时忽略这一点,并显示它的时候关闭,但我正在寻找更好的解决方案,如果有人想出了没有?

Now I could bypass this by hiding map when drawer opens and show it when closes but I'm looking for more elegant solution if someone came up with any?

推荐答案

有一个与谷歌地图API第2版和黑色空间的错误。也许你已经得到了类似的问题。对于解决方案看这里: <一href="https://github.com/jfeinstein10/SlidingMenu/issues/228">https://github.com/jfeinstein10/SlidingMenu/issues/228 和这里: <一href="https://github.com/jfeinstein10/SlidingMenu/issues/168">https://github.com/jfeinstein10/SlidingMenu/issues/168

There is a bug with google maps api v2 and black space. Maybe you have got similar problem. For solutions look here: https://github.com/jfeinstein10/SlidingMenu/issues/228 and here: https://github.com/jfeinstein10/SlidingMenu/issues/168

据我记得解决方案是这样:

As far as I remember solutions are one of this:

  • 在扩大谷歌地图,并使其重新绘制每个视图更经常
  • 在上面的参数组地图的Z指数为true
  • 把透明的覆盖在谷歌地图查看

这篇关于导航抽屉谷歌地图V2,地图阻止抽屉的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆