TitleBar issue

gjoisa

Active Member
Licensed User
Longtime User
I am creating my own title bar with panel and buttons . I want to remove android default title bar . tried to set the 'Show Title bar' property false in designer . But it is still showing the default title bar . How to remove the default titlebar ?
 

gjoisa

Active Member
Licensed User
Longtime User
Thank you . I am going to make aTitlebar like iphone's titlebar . For that I palced a panel on top of layout and 2 buttons ,one in left side and another in right end position on panel . It works fine . Like iphone's right navigation button , I added an image to button in designer . But the required text ,does not fills on button .
It shows only 2 or 3 letters of text . How to get this ?
 
Upvote 0

dclarkchem

Member
Licensed User
Longtime User
By setting Project -> Activity properties -> Include title

this is not an option when I drop down the project menu:

add new module
add existing module
change module name
remove nodule
hide module
choose icon
package name
manifest editor
do not overwrite
where are the other
compile and run
compile
compile
run last
compile to library
 
Upvote 0

Eduardo Funabashi

Member
Licensed User
Longtime User
Hello, how to set Application Title bar with the name I want ?
In my IDE I do not have Project -> Activity properties option

I wrote:

#Region Project Attributes
#ApplicationLabel: iFox iRest
#IncludeTitle: True
#VersionCode: 1
#VersionName: iFox iRest
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region

#Region Activity Attributes
#FullScreen: True
#IncludeTitle: True
#End Region

But when running application on phone, it shows on the right of the app icon "Activity" instead of "iFox iRest".
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Put a
B4X:
activity.Title = application.LabelName
in activity_create after you loaded the Layout or set it in the Designer like @NJDude suggests.
 
Last edited:
Upvote 0

Eduardo Funabashi

Member
Licensed User
Longtime User
Hello Expert´s. Thank you very much.
Using Code activity.Title = application.LabelName worked fine.
Using designer I did not find how to.
 
Upvote 0
Top