General topic questions
WindowInsets
MediumCommon
Free section · general topics & algorithms
How do you handle edge-to-edge and IME insets?
Reveal model answer
Enable edge-to-edge, consume WindowInsetsCompat / Compose imePadding/systemBarsPadding. Don’t hardcode status bar heights.