watesoft Active Member Licensed User Longtime User Jun 3, 2019 #1 Just like iphoneX ,How to set Android screen Safe Area? Attachments ANDROID.jpg 38.4 KB · Views: 390
DonManfred Expert Licensed User Longtime User Jun 3, 2019 #2 watesoft said: How to set Android screen Safe Area? Click to expand... What is Android screen Safe Area? Upvote 0
watesoft said: How to set Android screen Safe Area? Click to expand... What is Android screen Safe Area?
Erel B4X founder Staff member Licensed User Longtime User Jun 3, 2019 #3 If your app is not full screen then it shouldn't be an issue. Upvote 0
techknight Well-Known Member Licensed User Longtime User Jun 3, 2019 #4 And if it is? This concerns me as well. Upvote 0
MarkusR Well-Known Member Licensed User Longtime User Jun 3, 2019 #5 https://developer.android.com/guide/topics/display-cutout Upvote 0
watesoft Active Member Licensed User Longtime User Jun 4, 2019 #6 DonManfred said: What is Android screen Safe Area? Click to expand... There is a gap at the top of some android phones screen,If the app is full screen,then view is covered by gap. In b4i,we can use Page1.SafeAreaInsets to adjust the position of view.but in B4A,how to do it? Upvote 0
DonManfred said: What is Android screen Safe Area? Click to expand... There is a gap at the top of some android phones screen,If the app is full screen,then view is covered by gap. In b4i,we can use Page1.SafeAreaInsets to adjust the position of view.but in B4A,how to do it?
watesoft Active Member Licensed User Longtime User Jun 4, 2019 #7 Erel said: If your app is not full screen then it shouldn't be an issue. Click to expand... Hi Erel,my app is full screen,a friend of mine find this problem,I'm planning to set app no full screen for him. Upvote 0
Erel said: If your app is not full screen then it shouldn't be an issue. Click to expand... Hi Erel,my app is full screen,a friend of mine find this problem,I'm planning to set app no full screen for him.
watesoft Active Member Licensed User Longtime User Jun 4, 2019 #8 MarkusR said: https://developer.android.com/guide/topics/display-cutout Click to expand... Thanks MarkusR,it looks more trouble than B4I,I'm planning to set app no full screen. Upvote 0
MarkusR said: https://developer.android.com/guide/topics/display-cutout Click to expand... Thanks MarkusR,it looks more trouble than B4I,I'm planning to set app no full screen.
MarkusR Well-Known Member Licensed User Longtime User Jun 4, 2019 #9 watesoft said: Thanks MarkusR,it looks more trouble than B4I,I'm planning to set app no full screen. Click to expand... or full screen without cutout areas mentioned here Never render content in the display cutout area With LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER, the window is never allowed to overlap with the cutout area. This mode should be used with windows that transiently set View.SYSTEM_UI_FLAG_FULLSCREEN or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION to avoid performing another layout of the window when the flag is set or cleared. See examples of LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER below: Click to expand... Upvote 0
watesoft said: Thanks MarkusR,it looks more trouble than B4I,I'm planning to set app no full screen. Click to expand... or full screen without cutout areas mentioned here Never render content in the display cutout area With LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER, the window is never allowed to overlap with the cutout area. This mode should be used with windows that transiently set View.SYSTEM_UI_FLAG_FULLSCREEN or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION to avoid performing another layout of the window when the flag is set or cleared. See examples of LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER below: Click to expand...