Android Question Hide Title Bar by code

Marco Maria Vilucchi

Active Member
Licensed User
Hi all,
I need to create an activity without Designer usin a scrollview.
I need to hide TitleBar.
I use this code:

B4X:
 #Region Module Attributes
    #FullScreen: True
    #IncludeTitle: False
#End Region
but I have a black band on the top

upload_2018-4-9_10-31-38.png


Where am I wrong?
Thanks
Marco
 

Star-Dust

Expert
Licensed User
That is not the status bar where is the clock and battery?

If you want to remove that also put FullScreen = True
 

Marco Maria Vilucchi

Active Member
Licensed User
Yes, this is my Region
#Region Module Attributes
#FullScreen: True
#IncludeTitle: False
#End Region
FullScreen is True, but black bar is already here.
 

udg

Expert
Licensed User
What happens if you add a panel set to 100%x and 100%y and then add the scrollview to the panel?

BTW, why not using the Designer and Anchors? Any special requirement?
 

Star-Dust

Expert
Licensed User
Did you make sure it's not a panel problem?
Image fully covers the entire panel or leaves black borders?

Show the source code
 

BillMeyer

Well-Known Member
Licensed User
In your Designer have you done this also ?

upload_2018-4-9_11-21-10.png
 
Top