Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

3375 fix edge to edge

Guillaume Jacquart requested to merge 3375-fix_edge_to_edge into main

Description

Status Bar Overlaps App UI on Advanced Privacy in A15

Screenshot_20250610-090336_Advanced_Privacy

Screenshot_20250610-090353_Advanced_Privacy

### With pinhole cutout

Screenshot_20250610-090612_Advanced_Privacy

Screenshots

Screenshot_20250610-092458_Advanced_Privacy

Screenshot_20250610-092514_Advanced_Privacy

### With cutouts

Screenshot_20250610-091230_Advanced_Privacy

Screenshot_20250610-092310_Advanced_Privacy

Screenshot_20250610-092326_Advanced_Privacy

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

👪 ❤️ https://gitlab.e.foundation/groups/e/-/wikis/contribute/development-processes/code-review-guidelines

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

Merge request reports

Loading