height - android Navigation Bar hiding and persantage of usable screen overlap -


my problem persantage of usable screen . application working ı assume if ı change dimension of screen (for example galaxy s8+) down.

this how working fine

enter image description here strong text

and wrong one

enter image description here

the problem related navigationbar. tried set machparent params , use programmatically displaymetrics metrics = this.getresources().getdisplaymetrics(); width = metrics.widthpixels; height = metrics.heightpixels - utils.getstatusbarheight(getcontext()); code. not working in galaxy s8+ when hide navigationbar. can me fold?

edit. mean height of screen doesnt work.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -