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:
@@ -42,9 +42,6 @@
|
||||
<color name="cartoon_pink">#EE4266</color>
|
||||
<color name="cartoon_cream">#FFF5D6</color>
|
||||
<color name="cartoon_ink">#111111</color>
|
||||
<!-- The Blueprint Overview style: white lines on a navy drawing sheet. -->
|
||||
<color name="blueprint_sheet">#0A2240</color>
|
||||
<color name="blueprint_line">#E3EEFF</color>
|
||||
<!-- The MG Overview style: octagonal dials after the classic MG dashboards. -->
|
||||
<color name="mg_face">#0D0D0F</color>
|
||||
<color name="mg_cream">#F2E8D5</color>
|
||||
|
||||
@@ -128,9 +128,8 @@
|
||||
<string name="overview_style_futuristic">Futuristic</string>
|
||||
<string name="overview_style_scifi">Sci-fi</string>
|
||||
<string name="overview_style_cartoon">Cartoon</string>
|
||||
<string name="overview_style_blueprint">Blueprint</string>
|
||||
<string name="overview_style_mg">MG</string>
|
||||
<string name="accent_not_used">%1$s has its own colours. To change the accent colour, pick a style that uses it.</string>
|
||||
<string name="accent_not_used">%1$s has its own colours, and the app takes them on. To change the accent colour, pick a style that uses it.</string>
|
||||
<string name="overview_fullscreen_enter">Overview full screen: hide the navigation</string>
|
||||
<string name="overview_fullscreen_exit">Show the navigation again</string>
|
||||
<string name="overview_style_minimal">Minimal</string>
|
||||
@@ -139,113 +138,6 @@
|
||||
<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>
|
||||
<string name="label_mascot_character">Mascot</string>
|
||||
<string name="mascot_character_classic">Classic</string>
|
||||
<string name="mascot_character_chibi">Chibi</string>
|
||||
<string name="mascot_character_fox">Fox</string>
|
||||
<!-- The fox's lines, per mood like mascot_*. -->
|
||||
<string-array name="fox_waiting">
|
||||
<item>Kon? Anyone there?</item>
|
||||
<item>Sniff sniff… no car yet.</item>
|
||||
</string-array>
|
||||
<string-array name="fox_reverse">
|
||||
<item>Backing up, ears up!</item>
|
||||
<item>Mind my tail!</item>
|
||||
</string-array>
|
||||
<string-array name="fox_worried">
|
||||
<item>Battery\'s low, kon…</item>
|
||||
<item>Find a charger, please!</item>
|
||||
</string-array>
|
||||
<string-array name="fox_sleeping">
|
||||
<item>Curled up in P… zzz</item>
|
||||
<item>Fox nap time.</item>
|
||||
</string-array>
|
||||
<string-array name="fox_cheering">
|
||||
<item>Kon kon! Free energy!</item>
|
||||
<item>Tail-wagging regen!</item>
|
||||
</string-array>
|
||||
<string-array name="fox_determined">
|
||||
<item>Pounce!</item>
|
||||
<item>Full speed, kon!</item>
|
||||
</string-array>
|
||||
<string-array name="fox_fast">
|
||||
<item>Ears back, here we go!</item>
|
||||
<item>Zoomies!</item>
|
||||
</string-array>
|
||||
<string-array name="fox_content">
|
||||
<item>Kon! Nice drive.</item>
|
||||
<item>Happy tail, happy fox.</item>
|
||||
<item>Sniffing the road ahead.</item>
|
||||
</string-array>
|
||||
<!-- The chibi's lines, per mood like mascot_*. -->
|
||||
<string-array name="chibi_waiting">
|
||||
<item>Hellooo? Car?</item>
|
||||
<item>Is the car awake yet?</item>
|
||||
</string-array>
|
||||
<string-array name="chibi_reverse">
|
||||
<item>Beep beep, backing up!</item>
|
||||
<item>Eyes on the back!</item>
|
||||
</string-array>
|
||||
<string-array name="chibi_worried">
|
||||
<item>The battery\'s hungry!</item>
|
||||
<item>Snack time for the car?</item>
|
||||
</string-array>
|
||||
<string-array name="chibi_sleeping">
|
||||
<item>Zzz… five more minutes…</item>
|
||||
<item>Napping in P…</item>
|
||||
</string-array>
|
||||
<string-array name="chibi_cheering">
|
||||
<item>Free energy! Yay!</item>
|
||||
<item>Regen power!</item>
|
||||
</string-array>
|
||||
<string-array name="chibi_determined">
|
||||
<item>Zoom zoom!</item>
|
||||
<item>Full throttle!</item>
|
||||
</string-array>
|
||||
<string-array name="chibi_fast">
|
||||
<item>Weeee, so fast!</item>
|
||||
<item>Wind in my hair!</item>
|
||||
</string-array>
|
||||
<string-array name="chibi_content">
|
||||
<item>La la la, driving~</item>
|
||||
<item>Comfy cruising!</item>
|
||||
<item>Vroom vroom!</item>
|
||||
</string-array>
|
||||
<!-- 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>
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- The app's accent palette while an Overview style shows its own colours (StylePalette.java):
|
||||
the navigation, buttons, switches and titles take the style's main colour instead of the
|
||||
MG4 paint colour. Same items as values/accents.xml; the colours come from each style's
|
||||
drawing (colors.xml and the views). -->
|
||||
<resources>
|
||||
<!-- Retro: the turquoise of the vacuum fluorescent display (retro_lit). -->
|
||||
<style name="ThemeOverlay.EV.Style.Retro" parent="">
|
||||
<item name="evAccent">#4DF5D0</item>
|
||||
<item name="evOnAccent">#021A14</item>
|
||||
<item name="evAccentLight">#A8FFEC</item>
|
||||
<item name="evAccentDeep">#0B2E27</item>
|
||||
<item name="evAccentSurface">#0E1C19</item>
|
||||
<item name="evAccentStroke">#80306E62</item>
|
||||
<item name="evAccentTrack">#2E6A5E</item>
|
||||
</style>
|
||||
<!-- Terminal: green phosphor. -->
|
||||
<style name="ThemeOverlay.EV.Style.Terminal" parent="">
|
||||
<item name="evAccent">#33FF66</item>
|
||||
<item name="evOnAccent">#021A08</item>
|
||||
<item name="evAccentLight">#9DFFB5</item>
|
||||
<item name="evAccentDeep">#0A2E14</item>
|
||||
<item name="evAccentSurface">#0E1C12</item>
|
||||
<item name="evAccentStroke">#80296B3A</item>
|
||||
<item name="evAccentTrack">#1C8A3A</item>
|
||||
</style>
|
||||
<!-- Sci-fi: the starship console's orange, peach for the light tone (scifi_orange, scifi_peach). -->
|
||||
<style name="ThemeOverlay.EV.Style.SciFi" parent="">
|
||||
<item name="evAccent">#FF9966</item>
|
||||
<item name="evOnAccent">#1F0E04</item>
|
||||
<item name="evAccentLight">#FFCC99</item>
|
||||
<item name="evAccentDeep">#3D2214</item>
|
||||
<item name="evAccentSurface">#2A1B13</item>
|
||||
<item name="evAccentStroke">#80775040</item>
|
||||
<item name="evAccentTrack">#6A4A36</item>
|
||||
</style>
|
||||
<!-- Cartoon: its sunny orange. -->
|
||||
<style name="ThemeOverlay.EV.Style.Cartoon" parent="">
|
||||
<item name="evAccent">#FF9F1C</item>
|
||||
<item name="evOnAccent">#1F1202</item>
|
||||
<item name="evAccentLight">#FFC97A</item>
|
||||
<item name="evAccentDeep">#3D2606</item>
|
||||
<item name="evAccentSurface">#2B1D0B</item>
|
||||
<item name="evAccentStroke">#80775320</item>
|
||||
<item name="evAccentTrack">#6A4A1C</item>
|
||||
</style>
|
||||
<!-- Aviation: the flight display's cyan for selected values. -->
|
||||
<style name="ThemeOverlay.EV.Style.Aviation" parent="">
|
||||
<item name="evAccent">#4FD8F0</item>
|
||||
<item name="evOnAccent">#021418</item>
|
||||
<item name="evAccentLight">#A8EEFA</item>
|
||||
<item name="evAccentDeep">#0C2E36</item>
|
||||
<item name="evAccentSurface">#0F1F24</item>
|
||||
<item name="evAccentStroke">#80306A76</item>
|
||||
<item name="evAccentTrack">#2C6470</item>
|
||||
</style>
|
||||
<!-- Nixie tubes: the neon's orange glow. -->
|
||||
<style name="ThemeOverlay.EV.Style.Nixie" parent="">
|
||||
<item name="evAccent">#FF8A1F</item>
|
||||
<item name="evOnAccent">#1F0E02</item>
|
||||
<item name="evAccentLight">#FFC08A</item>
|
||||
<item name="evAccentDeep">#3D1E06</item>
|
||||
<item name="evAccentSurface">#2A190B</item>
|
||||
<item name="evAccentStroke">#80774A26</item>
|
||||
<item name="evAccentTrack">#6A4224</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user