notedeck
notedeck copied to clipboard
Show system bar above application
Depends on:
- https://github.com/damus-io/notedeck/issues/190
Once we switch to GameActivity, we have the opportunity to fix the issue where the app is below the system bar. It looks like @lucasmerlin and @ardocrat has made some progress here:
- https://github.com/rust-mobile/android-activity/issues/96#issuecomment-1658558174
Things to consider:
-
Do cutouts extend beyond system bar? If so we need to account for that
-
To have an immersive scroll experience, it might be a good idea to not pad during scrolling, so we scrolling appears all the way to the top edge of the device. Need to figure out the logistics of this.
System bar and navigation bar are insets at Android, you will need listener at Java code.
iOS has same problem ofc.
I had the same problem and solved it with this commit in my winit fork: https://github.com/lucasmerlin/winit/commit/10bd20e9bcee294a6649498fdd70c157572dbb36
This is fixed in our gameactivity branch
closing this since it's done on our android branch