From 010a0cd50d00c9fb082d33e9d7444816e5c1d13e Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Sun, 18 Oct 2026 17:22:22 +0200 Subject: [PATCH] App 2.14.1: right-aligned values with equal-width digits The Overview tiles' values (and the notes under them) are right-aligned and use tabular figures, so a value going from 9 to 10 to 100 grows to the left instead of shifting the whole text, and digits no longer change width as they tick. The labels stay left; tyre pressures stay centred but use tabular figures too. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki --- SPECS.md | 2 + app/build.gradle | 4 +- .../main/res/layout-w1000dp/pane_vehicle.xml | 42 +++++++++---------- app/src/main/res/layout/pane_vehicle.xml | 42 +++++++++---------- 4 files changed, 46 insertions(+), 44 deletions(-) diff --git a/SPECS.md b/SPECS.md index 7692eb7..20f14d8 100644 --- a/SPECS.md +++ b/SPECS.md @@ -113,6 +113,8 @@ tyre pressures, GPS (lat, lon, elevation, heading) and the is_* flags. It does * INGEST_TOKEN) into git and pushed it. Commit amended and force-pushed; both values regenerated in the now gitignored `k8s/secrets.yaml` (since moved to `k8s/secrets/secrets.yaml`, outside `kubectl apply -f k8s/`). Filled-in secrets live only there from now on. +- 2026-10-18 — App 2.14.1: Overview values and their notes right-aligned, with tabular + (equal-width) digits, so 9 → 10 → 100 no longer shifts the text; labels stay left. - 2026-10-18 — App 2.14.0: accent colour selectable after the MG4 paints (Settings → Display): Dynamic Red (default), Volcano Orange, Holborn Blue, Racing Green, Camden Grey, Monument Silver, Arctic White, Black Pearl; white, silver and black become light greys and a pearl blue-grey, diff --git a/app/build.gradle b/app/build.gradle index 03d0b55..aa1d813 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -34,8 +34,8 @@ android { applicationId "com.stinnesbeck.nilsmg4" minSdk 27 targetSdk 36 - versionCode 78 - versionName "2.14.0" + versionCode 79 + versionName "2.14.1" // Nothing about the server ships in the APK: its URL and ingest token are entered in // the app's Server tab (ServerConfig), and the database is only reachable by the server. diff --git a/app/src/main/res/layout-w1000dp/pane_vehicle.xml b/app/src/main/res/layout-w1000dp/pane_vehicle.xml index c588ec7..6357b56 100644 --- a/app/src/main/res/layout-w1000dp/pane_vehicle.xml +++ b/app/src/main/res/layout-w1000dp/pane_vehicle.xml @@ -4,53 +4,53 @@ - - + + - + - - + + - - + + - + - + - - + + - - + + - - + + - - + + @@ -74,18 +74,18 @@ - + - + - + - + diff --git a/app/src/main/res/layout/pane_vehicle.xml b/app/src/main/res/layout/pane_vehicle.xml index 3a27579..5bc5918 100644 --- a/app/src/main/res/layout/pane_vehicle.xml +++ b/app/src/main/res/layout/pane_vehicle.xml @@ -4,50 +4,50 @@ - - + + - + - - + + - - + + - - + + - - + + - - + + - + - - + + - + @@ -69,18 +69,18 @@ - + - + - + - +