T Tom_707 Member Licensed User Aug 6, 2020 #1 An Android phone has a Status, Action and Navigation bar. Which of these are included and which are excluded when calculating the height of the Activity.Height property?
An Android phone has a Status, Action and Navigation bar. Which of these are included and which are excluded when calculating the height of the Activity.Height property?
Jeffrey Cameron Well-Known Member Licensed User Longtime User Aug 6, 2020 #2 There is not a simple answer to your question, see: https://www.b4x.com/android/forum/t...vity-height-still-an-issue.114435/post-714909 Generally speaking, the Activity.Height is the height of the "usable" screen area (total size less any OS bars that may be there). Upvote 0
There is not a simple answer to your question, see: https://www.b4x.com/android/forum/t...vity-height-still-an-issue.114435/post-714909 Generally speaking, the Activity.Height is the height of the "usable" screen area (total size less any OS bars that may be there).
Erel B4X founder Staff member Licensed User Longtime User Aug 7, 2020 #3 Tom_707 said: An Android phone has a Status, Action and Navigation bar. Click to expand... All three are excluded. Upvote 0
Tom_707 said: An Android phone has a Status, Action and Navigation bar. Click to expand... All three are excluded.
T Tom_707 Member Licensed User Aug 7, 2020 #4 Jeffrey Cameron said: There is not a simple answer to your question, see: https://www.b4x.com/android/forum/t...vity-height-still-an-issue.114435/post-714909 Generally speaking, the Activity.Height is the height of the "usable" screen area (total size less any OS bars that may be there). Click to expand... Thanks Jeffrey, I'll check your post out. Upvote 0
Jeffrey Cameron said: There is not a simple answer to your question, see: https://www.b4x.com/android/forum/t...vity-height-still-an-issue.114435/post-714909 Generally speaking, the Activity.Height is the height of the "usable" screen area (total size less any OS bars that may be there). Click to expand... Thanks Jeffrey, I'll check your post out.
T Tom_707 Member Licensed User Aug 7, 2020 #5 Erel said: All three are excluded. Click to expand... Hi Erel, I know you can use 100%y to get the usable height. But just for informational purposes, what are the heights of the three bars? Are they based as a percentage of the screen height? Upvote 0
Erel said: All three are excluded. Click to expand... Hi Erel, I know you can use 100%y to get the usable height. But just for informational purposes, what are the heights of the three bars? Are they based as a percentage of the screen height?
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2020 #6 Tom_707 said: But just for informational purposes, what are the heights of the three bars? Click to expand... Don't assume any specific height. Different devices will show different heights. Upvote 0
Tom_707 said: But just for informational purposes, what are the heights of the three bars? Click to expand... Don't assume any specific height. Different devices will show different heights.
T Tom_707 Member Licensed User Aug 9, 2020 #7 Erel said: Don't assume any specific height. Different devices will show different heights. Click to expand... OK. Thanks Erel. Upvote 0
Erel said: Don't assume any specific height. Different devices will show different heights. Click to expand... OK. Thanks Erel.