Hey guys, what is the most correct way to make the...
# compose-android
e
Hey guys, what is the most correct way to make the compose content also occupy the system bars?
s
use
enableEdgeToEdge
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:activity[…]eEdgeToEdge&sq=&ss=androidx%2Fplatform%2Fframeworks%2Fsupport on your activity, and make it
android:windowSoftInputMode="adjustResize"
, and then use the compose
WindowInsets
APIs is the big picture stuff. What are you interested in more specifically?
e
@Stylianos Gakis great, thanks!
a
Also https://developer.android.com/jetpack/compose/layouts/insets to get started if you haven’t seen it yet.
👍 2