App 2.31.0: full screen from the navigation, swipe in from the left to return

The Overview's full-screen button moved from the page's corner into the
navigation, beside the MG4 logo. A swipe in from the left edge (EdgeSwipe,
unit-tested) brings the navigation back; a faint handle marks the edge.
Sideways swipes no longer change the page: only the navigation does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LhzAVaUyqcw5PkGjz4mWW6
This commit is contained in:
2026-10-25 08:53:41 +01:00
co-authored by Claude Opus 5.5
parent 4a1f178b5c
commit 4cd5f7a7ba
13 changed files with 179 additions and 34 deletions
+10
View File
@@ -131,6 +131,16 @@ tyre pressures, GPS (lat, lon, elevation, heading) and the is_* flags. It does *
confirmed car facts, app structure, UI conventions, build/test/ship, documents. It replaces
upstream's EVABRPUploader text. The test emulator is now in the flake: `nix run .#car-emulator`
(Android 9 AOSP at 1920×720, 160 dpi; the car build installs as the system user — checked).
- 2026-10-25 — App 2.31.0 (branch `styles-retro-future`): the Overview's full screen moved into
the navigation: its button now sits beside the MG4 logo (at the end of the bottom bar on narrow
screens) instead of over the page's top-right corner, and only shows on the Overview. A swipe
in from the left edge brings the navigation back (`EdgeSwipe`, pure and unit-tested: starts
within 48 dp of the edge, 64 dp to the right, more sideways than up or down; the page under it
gets a cancel). A faint handle at the left edge marks it in full screen. Swiping sideways no
longer changes the page (`ViewPager2.setUserInputEnabled(false)`); the navigation does. The
exit icon and its string went. Checked on the emulator: the button enters full screen, a
swipe in the middle does nothing, a swipe from the edge brings the navigation back, sideways
swipes keep the page, the narrow layout opens. Not tried on the car.
- 2026-10-24 — App 2.30.0 (branch `styles-retro-future`): a third Mascot, the **chibi fox**
(`FoxFigure`): a sitting fox with a big head, pointed ears, cream cheeks, chest and tail tip,
dark paws and a scarf in the accent colour. Ears and tail act the mood with the face: the