2014-10-26 134 views
0

我需要删除阴影,显示当我打开navigationdrawer,我想看到我的ActionBar(其完整的v21 appcompat工具栏)。删除navigationDrawer顶部“阴影”

这是截图就知道我的问题:

enter image description here

这是我的代码:

<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    xmlns:tools="http://schemas.android.com/tools" 
    android:id="@+id/drawer_layout" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    tools:context="com.firext.android.activities.work.WorkActivity"> 

<FrameLayout 
     android:id="@+id/container" 
     android:layout_width="match_parent" 
     android:layout_height="match_parent" /> 

    <fragment 
     android:id="@+id/navigation_drawer" 
     android:name="com.firext.android.activities.work.navigationdrawer.NavigationDrawerFragment" 
     android:layout_width="match_parent" 
     android:layout_height="match_parent" 
     android:layout_alignParentBottom="@+id/toolbar" 
     android:layout_below="@+id/toolbar" 
     android:layout_gravity="start" 
     android:layout_marginTop="?attr/actionBarSize" 
     tools:layout="@layout/work_navigation" /> 

</android.support.v4.widget.DrawerLayout> 
+0

你解决这个问题?如果是的话,让我知道你是如何做到的 – 2015-11-23 05:11:16

回答