Android Question Activity not covering top notch (status bar) of the screen

Nitin Joshi

Active Member
Licensed User
Longtime User
In Main attributes i have set below, yet, activity is not covering full screen (status bar area)

B4X:
#Region  Activity Attributes
    #FullScreen: true
    #IncludeTitle: false
    #BridgeLogger: True
    ' Use "unspecified" to support both Portrait and Landscape
    #SupportedOrientations: unspecified
#End Region
 
Solution
search for "immersive mode"
this is a good starting point:
I tried this option, it works fine however when i change the rotation, screen size is half.

Cableguy

Expert
Licensed User
Longtime User
search for "immersive mode"
this is a good starting point:
 
Upvote 0

Nitin Joshi

Active Member
Licensed User
Longtime User
search for "immersive mode"
this is a good starting point:
I tried this option, it works fine however when i change the rotation, screen size is half.
 
Upvote 0
Solution

Cableguy

Expert
Licensed User
Longtime User
share a small example that behaves like this, and we can try to help, otherwise, we're just throwing words up in the air
 
Upvote 0

Nitin Joshi

Active Member
Licensed User
Longtime User
share a small example that behaves like this, and we can try to help, otherwise, we're just throwing words up in the air
@Cableguy Thank you very much for your help. Problem is solved. Basically, i moved GetRealSize Sub from Main module to Activity Module. Earlier I used to call sub GetRealSize from my Activity module.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
if my post helped, you can mark it as solution
 
Upvote 0
Top