#if B4A
Dim p As Phone
If p.SdkVersion >= 21 Then
Dim ActionBar As JavaObject = B4XPages.GetManager.ActionBar
ActionBar.RunMethod("setDisplayUseLogoEnabled", Array(True))
ActionBar.RunMethod("setDisplayShowHomeEnabled", Array(True))
Dim bd As BitmapDrawable
bd.Initialize(xui.LoadBitmapResize(File.DirAssets, "logo.png", 32dip, 32dip, True))
ActionBar.RunMethod("setLogo", Array(bd))
End If
#End If