Pick the fix
After targeting API 35, a screen's bottom button hides behind the navigation bar. Fix?
Hint 1 of 1
What does Scaffold give its content lambda?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Apply innerPadding from Scaffold or navigationBarsPadding() to the content
Correct. The content now respects the bar's inset.
Why not the others?
- B Opt out of edge-to-edge. The opt-out goes away when targeting API 36.
- C Add 48dp bottom padding. Wrong on 3-button vs gesture nav and on tablets.
- D Hide the navigation bar. Hurts users.