notedeck icon indicating copy to clipboard operation
notedeck copied to clipboard

Show system bar above application

Open jb55 opened this issue 1 year ago • 3 comments

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.

jb55 avatar Apr 09 '24 22:04 jb55

System bar and navigation bar are insets at Android, you will need listener at Java code.

ardocrat avatar Apr 13 '24 15:04 ardocrat

iOS has same problem ofc.

image

ardocrat avatar Jul 25 '24 17:07 ardocrat

I had the same problem and solved it with this commit in my winit fork: https://github.com/lucasmerlin/winit/commit/10bd20e9bcee294a6649498fdd70c157572dbb36

lucasmerlin avatar Jul 25 '24 18:07 lucasmerlin

This is fixed in our gameactivity branch

jb55 avatar Feb 25 '25 22:02 jb55

closing this since it's done on our android branch

jb55 avatar Apr 29 '25 16:04 jb55