App 2.35.0: the app takes on the Overview style's own colours

While the style shows its own palette (Sci-fi, Cartoon, Aviation, Nixie;
Retro and Terminal with "Original"), the navigation, buttons and titles
take it instead of the accent colour, e.g. turquoise for Retro
(StylePalette, style_palettes.xml). Blueprint and Mascot are removed; a
stored one opens Tiles. The navigation no longer saves view state, which
crashed a restore across the wide and narrow layouts.

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 20:38:32 +01:00
co-authored by Claude Opus 5.5
parent c5f0d5dc9a
commit 921bab7170
24 changed files with 195 additions and 1834 deletions
+16
View File
@@ -138,6 +138,22 @@ 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.35.0: **the app takes on the style's own colours.** While the Overview style
shows its own palette — Sci-fi, Cartoon, Aviation and Nixie always, Retro and Terminal with
"Original" — the navigation, buttons, switches and titles take that palette instead of the
accent colour: Retro turquoise (`retro_lit`), Terminal green phosphor, Sci-fi orange, Cartoon
orange, Aviation cyan, Nixie neon orange (`StylePalette`, overlays in
`res/values/style_palettes.xml`, laid over the accent overlay in `onCreate`; a style or colour
choice that changes the overlay recreates the activity, as an accent change did). The accent
colour stays stored for the styles that use it. **Blueprint and Mascot removed** (owner's
choice): `BlueprintView`, `MascotView`, `MascotMood`, `MascotCharacter`, `ChibiBase`,
`ChibiFigure`, `FoxFigure`, their strings and the Mascot field on Settings; a stored
"BLUEPRINT" or "MASCOT" opens Tiles. Fix: the navigation (`nav_bar`) no longer saves view state —
it is a ScrollView in the wide layout and a LinearLayout in the narrow one, and restoring one
into the other crashed when the width changed (seen on the emulator only; the car's width does
not change). Tests (`OverviewStyleTest`: palettes per style, removed styles) and lint;
emulator: each palette, the switch to Retro recolouring at once, the width change. Not tried
on the car.
- 2026-10-25 — `styles-retro-future` (app 2.23.0–2.34.1) merged into `main` (merge commit
`aff79cb`, the summary as its message). Work goes on `main` again.
- 2026-10-25 — App 2.34.1 (branch `styles-retro-future`): the Overview's full screen without the