My app name in tilebar

volvomann

Active Member
Licensed User
Longtime User
Hallo.
How can I get the name off my app in the titlebar, and not "aktivity" as it now standing?
 

barx

Well-Known Member
Licensed User
Longtime User
B4X:
Activity.Title = "Whatever you wish"

or set it in the designer if you use it for your layout
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
you should have seen the option with you changed the title. Either:

B4X:
Activity.TitleColor

or

next option down in designer.
 
Upvote 0

volvomann

Active Member
Licensed User
Longtime User
Yes find and tried that but the collor did not changes i only got a new titlebar.

I tried to set option in designer and use activity.titlecolor but the collor do cnanges, can any one tel me whats wrong Ps when i chages Activity.Title i works but not to changes colcor. The help says that the colcor has to been an int, what is the integer for ex red and blue?
 
Last edited:
Upvote 0

Mahares

Expert
Licensed User
Longtime User
Hi Volvomann. Welcome back. We missed in the forum. The following in the sequence and order I am showing here works:

B4X:
Dim Textcolor1 As Int = Colors.RGB(245,168,73) 
Activity.LoadLayout("Test")   'Replace with your layout
Activity.Title = "Volvomann"
Activity.TitleColor = Textcolor1
 
Upvote 0
Top