First pass adding android auto and apple carplay support. Android auto tuned on emulator.

This commit is contained in:
2026-05-15 21:30:23 -07:00
parent 52f5ec577b
commit 83dd1a28b8
14 changed files with 382 additions and 33 deletions
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Brand colors exposed to Android Auto. Android Auto's media UI reads colorPrimary
from the app theme to accent its browsing and now-playing screens.
#E36A18 matches AppThemeBusinessObject.lightColors.primarySeed (brand orange).
-->
<resources>
<color name="kryz_primary">#E36A18</color>
<color name="kryz_primary_dark">#B84E08</color>
<color name="kryz_accent">#1663C7</color>
</resources>
@@ -16,4 +16,14 @@
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowIsTranslucent">false</item>
</style>
<!--
Theme used by KryzAutoMediaBrowserService. Android Auto reads colorPrimary
from the service's theme to accent its media browsing UI with the KRYZ brand orange.
-->
<style name="KryzAutoTheme" parent="Theme.AppCompat">
<item name="colorPrimary">@color/kryz_primary</item>
<item name="colorPrimaryDark">@color/kryz_primary_dark</item>
<item name="colorAccent">@color/kryz_accent</item>
</style>
</resources>
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<automotiveApp>
<uses name="media"/>
</automotiveApp>