Hello
I use this library in my project
I use example exist in
https://www.b4x.com/android/forum/t...ative-google-navigation-drawer.31461/#content
I have problem
When i use it in project (add panel to my Layout and use it in NavigationDrawer)
All view except Panel of NavigationDrawer is disable and i cannot click on it.
My code is :
I use this library in my project
I use example exist in
https://www.b4x.com/android/forum/t...ative-google-navigation-drawer.31461/#content
I have problem
When i use it in project (add panel to my Layout and use it in NavigationDrawer)
All view except Panel of NavigationDrawer is disable and i cannot click on it.
My code is :
B4X:
Private lsheader As ListView
Private NavDrawer As AHNavigationDrawer
NavDrawer.Initialize2("Drawer", pContent, 85%x,NavDrawer.GRAVITY_LEFT)
NavDrawer.SetEdgeSize(NavDrawer.GRAVITY_START, NavDrawer.GetEdgeSize(NavDrawer.GRAVITY_START) * 3)
Dim xml As XmlLayoutBuilder
NavDrawer.ShadowDrawable = xml.GetDrawable("drawer_shadow")
NavDrawer.StatusBarColor = Colors.Red
sd.Initialize(xml.GetDrawable("ic_drawer"))
imgLogo.Initialize("")
lsheader.Initialize("lsheader")
'We add the mListView to our NavigationPanel
NavDrawer.NavigationPanel.AddView(imgLogo, 0, 0, 85%x,230dip)
NavDrawer.NavigationPanel.AddView(lsheader, 0, imgLogo.Height,85%x, pContent.Height-imgLogo.Height)
NavDrawer.NavigationPanel.Color = Colors.Blue