如何去除黑色封面上的滑动菜单的顶部? [英] How to remove black cover on top of sliding menu?
问题描述
在我的应用我有一个已开发的 jfeinstein10 滑动菜单。 它的正常工作在我的应用程序;)
我有一个片段是主机图形页面中。该片段就像我的其他片段,从片段类扩展。就在这个片段,还有对当我打开滑动菜单菜单内容顶部的黑色盖/层。还有,当我在其他片段中打开菜单中没有的黑色封面。另外,我发现的东西是框的高度是完全一样相同的高度片段。
你有没有见过这个问题吗?任何意见或建议将AP preciated。
=> 更新
根据什么Selei建议我设置背景为透明。然而,不管是什么颜色,我分配(透明或其他颜色),它仍然是可见的黑:(中 这是我的code:
< XML版本=1.0编码=UTF-8&GT?;
< com.google.android.gms.maps.MapView
的xmlns:机器人=http://schemas.android.com/apk/res/android
的xmlns:地图=http://schemas.android.com/apk/res-auto
机器人:ID =@ + ID /图形页面
机器人:layout_width =match_parent
机器人:layout_height =match_parent
机器人:可点击=真
图:uiCompass =真
机器人:后台=#00000000/>
溶液中加入图:zOrderOnTop =真正的
到XML
有关详细信息,请参阅<一个href="https://$c$c.google.com/p/gmaps-api-issues/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Stars%20ApiType%20Internal&groupby=&sort=&id=4812"相对=nofollow>这个链接。
In my application i have a sliding menu which has been developed by jfeinstein10. It's working fine in my application ;)
I have a Fragment which is host of MapView. This fragment like my other fragments extended from Fragment class. Just in this Fragment, there is black cover/layer on top of menu contents when I open sliding menu. There is no black cover when I open menu in other fragments. Also, the thing that I found is height of box is exactly as same height as fragment.
Have you seen this problem before? any comments or suggestion would be appreciated.
=> Update
Based on what Selei suggested I set background to transparent. However, regardless of what color I'm assigning (transparent or other colors) it's still visible and black :( This is my code:
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.gms.maps.MapView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:map="http://schemas.android.com/apk/res-auto"
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
map:uiCompass="true"
android:background="#00000000"/>
The solution was adding map:zOrderOnTop="true"
to XML.
For more info please refer to this link.
这篇关于如何去除黑色封面上的滑动菜单的顶部?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!