Android Question #FullScreen: True not working for me

eps

Expert
Licensed User
Longtime User
What are min and target sdk set to in the manifest file? I'm fairly certain that they need to be above a certain value to allow you to use the fullscreen, i.e. remove the notification bar.

I currently use :

min = 4

target = 14
 
Upvote 0

eps

Expert
Licensed User
Longtime User
Are you able to post a screenshot? Maybe this device doesn't allow fullscreen? A quick Google indicates that there _may_ be a setting within the Galaxy Nexus to allow this.. but I haven't got Galaxy Nexus myself, so can't confirm this 100%.
 
Upvote 0

Informatix

Expert
Licensed User
Longtime User
B4X:
#FullScreen: True

is not hiding the status bar. I also set the flag to hide the title, but it still shows the status bar and the title. What am I missing?

FullScreen hides the notification bar at the top. That's all. If you don't want the title, set #IncludeTitle to False. Since ICS, you cannot hide the navigation bar at the bottom. You can only dim the buttons.
 
Upvote 0

eps

Expert
Licensed User
Longtime User
Upvote 0

Eric H

Active Member
Licensed User
Longtime User
Ok, so here is the solution to the problem I had:
ss1.png


B4X:
#Region  Project Attributes
    #FullScreen: True
    #IncludeTitle: False
    #ApplicationLabel: XXXXXXXXX
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: portrait
    #CanInstallToExternalStorage: False
#End Region

looks good right?

So here is what I didn't notice, which was collapsed in the next code region:

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

I was setting the #FullScreen attribute to True, and the #IncludeTitle attribute to False, only to set the opposite attributes in the next code region.

Thanks for trying to help my silly tired mistake. At least I learned about some other things in this thread from the stuff posted above. Thanks eps and Informatix!

ss2.png


All better now, yay!
 
Upvote 0
Top