3375 fix edge to edge
Description
Status Bar Overlaps App UI on Advanced Privacy in A15
### With pinhole cutout
Screenshots
### With cutouts
Technical details
- left / right insets are managed directly in activity to impact all the views
- top inset is managed in topbar layout,
- bottom inset is managed in each fragment to improve sensation that all the screen is used when using gesture navigation.
Tests
Navigate through AdvancedPrivacy UI, activating the different cutouts in android Developer-Options
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/3375
10 commandments of code review
Summary by CodeRabbit
-
New Features
- Improved handling of system window insets, ensuring bottom padding and margins are dynamically applied to views for better display on devices with notches or system bars.
- Layouts now adapt more seamlessly to edge-to-edge screens.
-
Style
- Updated app theme for transparent status and navigation bars and support for display cutouts.
- Enhanced layout backgrounds and system window fitting.
-
Documentation
- Updated copyright years and added license headers in various files.
-
Chores
- Added ID attributes to key layout containers for improved view management.
Edited by Guillaume Jacquart