Android Question Set a logo as title instead of text

pliroforikos

Active Member
Licensed User
Goodday to all
How can i set a logo as a title without set title to False?
I tried this without success

B4X:
    Dim logo As Bitmap = LoadBitmap(File.DirAssets, "icon.png")
    B4XPages.SetTitle(Me, logo)
 

TILogistic

Expert
Licensed User
Longtime User
?
B4X:
    Dim cs As CSBuilder
    cs.Initialize
    cs.Image(LoadBitmap(File.DirAssets, "icon.png"), 32dip, 32dip, False)
    cs.Append(Chr(160)).Append(Chr(160))
    cs.Append("My title")
    cs.PopAll
    B4XPages.SetTitle(Me, cs)
1640165017364.png
 
Last edited:
Upvote 2
Top