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
strong text
and wrong one
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
Post a Comment