Hi,
I am using ActionBar and SlidingMenu from informatix.
These are very great, but I con figure out how to combine them.
In the example there is uses a button to open/close the menu.
When I am using the ActionBar the button is not defined as a button but as Dim pnlAB As Panel?
Any one know how to do this?
I would like to use the "Addprofile_Click" in the "PanelWithSidebar.SetOpenCloseButton(btnMenu)" but I can not figure out how
:sign0163:
Mogens
I am using ActionBar and SlidingMenu from informatix.
These are very great, but I con figure out how to combine them.
In the example there is uses a button to open/close the menu.
When I am using the ActionBar the button is not defined as a button but as Dim pnlAB As Panel?
Any one know how to do this?
B4X:
btnMenu.Initialize("")
btnMenu.SetBackgroundImage(LoadBitmap(File.DirAssets, "menu.png"))
FakeActionBar.AddView(btnMenu, 100%x - BarSize, 0, BarSize, BarSize)
PanelWithSidebar.SetOpenCloseButton(btnMenu)
B4X:
AB.AddButton(LoadBitmap(File.DirAssets, "add.png"), "", 5, -1, "AddProfile_Click", "")
I would like to use the "Addprofile_Click" in the "PanelWithSidebar.SetOpenCloseButton(btnMenu)" but I can not figure out how
:sign0163:
Mogens