0

I try to have my layout behind my statusbar.

How can I do it with Android R ?

Before I used this solution but now it's deprecated :

        window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN

And the result is : enter image description here

Jéwôm'
  • 3,753
  • 5
  • 40
  • 73
  • Does this answer your question? [android.view.View.systemUiVisibility deprecated. What is the replacement?](https://stackoverflow.com/questions/62577645/android-view-view-systemuivisibility-deprecated-what-is-the-replacement) – Henry Twist Aug 23 '21 at 20:06
  • Not really, I don't get the same result because the bottom is truncated... – Jéwôm' Aug 23 '21 at 20:16
  • Would you please check is there any similarity ?https://stackoverflow.com/questions/68887853/prevent-the-layout-from-resizing-in-android – Zahid Islam Aug 23 '21 at 21:25
  • No similarity to sorry – Jéwôm' Aug 24 '21 at 06:53

0 Answers0