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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -