Hello the community
I’m facing an issue which is I guess the issue faced by every Android devlopper, placing elements at the good place
Actually on my Galaxy S10+, I’ve placed my top FAB at (screen height - 5 - 55) and the following result is fine :
However, I used the screen height which should not be the same on every device and so, FAB should be at good place (60 from top border)
How can I do to place them correctly whatever the device, can anyone answer this and help me please ?
Do I have to place them at a % of the screen height instead ?
Thanks for your reply, there is no title bar in this screen but I suspect the system bar which is bigger in height that the Nexus.
By the way, I wonder what is behind screen height, does it includes the system bar and navigation bar or not ?
The height includes the status bar even see Boban’s reply here
For navigation bar, I am not sure, because some devices out there have the navigation bar embedded in the hardware itself and it’s not on the software part. So in such cases height will only include status and title bar