Android Question Change Color for Transparent Drawer

AndroidMadhu

Active Member
Licensed User
Hello,

I am following the below link for Drawer.
https://www.b4x.com/android/forum/threads/b4x-b4xdrawer-sliding-drawer.97828/

I want to change the color for drawer [Transparent not required].
Also not able to change the text/label [text] from Other procedures. Working fine at Activity_create(). If I want to change the label text which comes from other procedures it is not working.

Below is my code from Activity_create()...

B4X:
Sub Globals
Private ACToolBarLight1 As ACToolBarLight
Private ToolbarHelper As ACActionBar
Private Drawer As B4XDrawer
Private ListView1 As ListView
End sub
 Sub Activity_Create(FirstTime As Boolean)
 Drawer.Initialize(Me, "Drawer", Activity, 300dip)
Drawer.CenterPanel.LoadLayout("1")
ToolbarHelper.Initialize
ToolbarHelper.ShowUpIndicator = True 'set to true to show the up arrow
Dim bd As BitmapDrawable
bd.Initialize(LoadBitmap(File.DirAssets, "hamburger.png"))
ToolbarHelper.UpIndicatorDrawable =   bd
ACToolBarLight1.InitMenuListener
Drawer.LeftPanel.LoadLayout("left")
For i = 1 To 5
ListView1.AddSingleLine("Item " & i)
Next
End sub

Please suggest.
 
Top