App 2.28.0: Overview style Mascot, an anime co-pilot who reacts to the drive

MascotView draws her head and shoulders beside speed, gear, battery,
power, usage and trip. MascotMood picks her expression from the reading
(waiting, reverse, worried, asleep, cheering, determined, fast, content)
and holds a new mood for 1.5 s so values at a threshold do not make her
flicker. A speech bubble carries a line per mood.

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-24 23:07:50 +02:00
co-authored by Claude Opus 5.5
parent 965a20cfb2
commit 57cabfa0e1
11 changed files with 704 additions and 8 deletions
+35
View File
@@ -139,6 +139,41 @@
<string name="overview_style_aviation">Aviation</string>
<string name="overview_style_nixie">Nixie tubes</string>
<string name="overview_style_chronograph">Chronograph</string>
<string name="overview_style_mascot">Mascot</string>
<!-- The Mascot style's co-pilot: a line per mood (MascotMood), one picked every 30 s. -->
<string-array name="mascot_waiting">
<item>Waiting for the car…</item>
<item>Hello! Is anyone there?</item>
</string-array>
<string-array name="mascot_reverse">
<item>Careful behind us…</item>
<item>I\'ll watch the back!</item>
</string-array>
<string-array name="mascot_worried">
<item>Battery\'s getting low…</item>
<item>Maybe a charger soon?</item>
</string-array>
<string-array name="mascot_sleeping">
<item>Zz… wake me when we drive.</item>
<item>Parked. Nap time.</item>
</string-array>
<string-array name="mascot_cheering">
<item>Free energy, yay!</item>
<item>Charging on the go!</item>
</string-array>
<string-array name="mascot_determined">
<item>Full power!</item>
<item>Let\'s go!</item>
</string-array>
<string-array name="mascot_fast">
<item>Wheee, motorway!</item>
<item>I love this speed!</item>
</string-array>
<string-array name="mascot_content">
<item>Nice and easy.</item>
<item>Enjoying the drive.</item>
<item>Smooth driving!</item>
</string-array>
<string name="cockpit_battery">BATTERY</string>
<string name="cockpit_usage">USAGE · 5 MIN</string>
<string name="cockpit_usage_unit">kWh/100 km</string>