2

I created Navigation Drawer activity from Android Studios templates and added this line

<android.support.design.widget.NavigationView
    android:layout_marginTop="?attr/actionBarSize"
    .../>

to not hide "back" button when navdrawer is active. But got some shadow at top that should be transparent. How to remove this shadow?

enter image description here

amazingbasil
  • 1,695
  • 3
  • 18
  • 23
  • Using a margin for that is kinda hacky. Change the layout so the `Toolbar` is outside of the `DrawerLayout`. – Mike M. Feb 04 '17 at 21:36

1 Answers1

3

insert this in your nav view

app:insetForeground="@android:color/transparent"
iqbalzas
  • 767
  • 7
  • 12