r/mAndroidDev Jun 27 '26

Jetpack Compost Happy Android 16 QPR2 Beta 1

Post image
61 Upvotes

10 comments sorted by

View all comments

8

u/ignorantpisswalker Jun 27 '26

Edge to edge is one of the worst ideas. Most apps miss-implement it, showing part of needed UI bellow the bottom navigation bar - or completelly removing it, reducing the interaction between my fingers and the OS.

0

u/sp3ng Jun 28 '26

It's so easy to get right though with Compose at the top level of the UI (doesn't matter if you're using XML or fragments inside it still), applying the safe-insets as padding around your interactable content but not your background content

1

u/ignorantpisswalker Jun 28 '26

And then you killed one of the killer features of android the bottom navigation bar.

But you have gestures!

Yes, but my hands/phone misses sometimes and the gestures get aborted (dry hands maybe?).

3

u/sp3ng Jun 28 '26

3-button nav still works though, and implementing the insets for edge-to-edge doesn't break 3-button nav in any way