`r.getIdentifier("status_bar_height", "dimen", "android")` was returning always about 24 dp, with notch not being considered. A best approach is to use WindowInset API |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
proguard-rules.pro |
`r.getIdentifier("status_bar_height", "dimen", "android")` was returning always about 24 dp, with notch not being considered. A best approach is to use WindowInset API |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
proguard-rules.pro |