I got to remove navigation drawer shadow removed or make shadow white so my main page looks as it is
I hav listview added to nav drawer..like menu options.
what is gravity atribute in setshadowdrawable method
I hav listview added to nav drawer..like menu options.
B4X:
NavDrawer.Initialize("Drawer", pContent, 200dip)
NavDrawer.SetEdgeSize(NavDrawer.GRAVITY_START, NavDrawer.GetEdgeSize(NavDrawer.GRAVITY_START) * 3)
NavDrawer.ShadowDrawable = GetNPDrawable("drawer_shadow")
' Dim cd2 As ColorDrawable
' cd2.Initialize(Colors.White,0)
' NavDrawer.SetShadowDrawable(0,cd2)
' NavDrawer.ShadowDrawable=cd2
what is gravity atribute in setshadowdrawable method