B4A Library [BETA] [B4A Lib] AhaActionBar (Actionbar, Navigation Drawer + Menu)

b4auser1

Well-Known Member
Licensed User
Longtime User
I get error while extracting ahaActionBar.xml from ahaActionBar.zip. ahaActionBar.jar is extracted without errors.
 

angel

Member
Licensed User
Longtime User
Attachment with library ahaActionBar
 

Attachments

  • ahaActionBar.zip
    23.4 KB · Views: 462

b4auser1

Well-Known Member
Licensed User
Longtime User
ActionBarExample.b4a: AB.CreateNavigationDrawer requires paramaters which are not supported in the example.
 

angel

Member
Licensed User
Longtime User
In the example I have if it works well
AB.CreateNavigationDrawer ("Main", Null)

First object refers to the Activity Module
Second be referred to if you have associated an event, if there is no event put Null
 

Attachments

  • ahaActionbarexample.zip
    385.3 KB · Views: 497

gidex

New Member
Licensed User
Longtime User
Hello !
Very nice job !!!!!

...but I've a small issue when I try to set the size of the navigation drawer (NDWidth), it's not working.

I've edited the setNDWidth sub in ahaActionBar class like this, and now, it work :

B4X:
Public Sub setNDWidth (NDWidth As Int)
     mSideBarWidth = NDWidth
     pnlNavigationDrawer.Width = mSideBarWidth
     If pnlNavigationDrawer.Left <> 0 Then
          pnlNavigationDrawer.Left = - mSideBarWidth
          lsvNavigationDrawer.width = mSideBarWidth-1
     End If
End Sub

could you confirm ?
 

gdeppi

Member
Licensed User
Longtime User
Hi,

I need to access the ActionButton properties, in order to Hide, Disable or remove ActionButtons.

How I can do that ?

Rgds.
 

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,
Noticed that it says this is a Beta. Just wondering is there now a release version that isn't a beta ?

I was hoping to create a menu like the following but don't want to use a beta..

 

edgeryder1000

Member
Licensed User
Longtime User
Hi,
Noticed that it says this is a Beta. Just wondering is there now a release version that isn't a beta ?

I was hoping to create a menu like the following but don't want to use a beta..

You can use a hidden spinner and activate it when the menu button is clicked if you want to do it yourself.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…