Android Question Hide Action Bar logo/Icon


New Member
Licensed User
Longtime User
Hi there,

I am new to B4A and android programming, so this may already have been asked previously, but I am unable to find the answer to this. Can someone tell me if it is possible to hide the application icon when displaying the action bar? I want to be able to display the activity label without an icon showing next to it.

Peter Simpson

Licensed User
Longtime User
The way that I do it is by adding the StdActionBar library, then add the following lines to your code.
'Use this code
Sub Activity_Create(FirstTime As Boolean)
    Dim StdAB As StdActionBar
        StdAB.Icon = Null
        StdAB.ShowUpIndicator = False
End Sub

I'm not saying that this is the only way, but this is how I do it if needed...
Upvote 0