[AA] Added CarInfo tab to Android Auto

Added a new tab for subscribing to and showing CarProperties
within Android Auto.
The UI handling is a bit sluggish still, but can potentially be
imporved further.
This commit is contained in:
Alexander Dörflinger
2025-04-22 13:45:44 +02:00
parent a74c60a143
commit d1432ec0d6
29 changed files with 2126 additions and 72 deletions

View File

@@ -0,0 +1,4 @@
<vector android:height="200dp" android:viewportHeight="16"
android:viewportWidth="16" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#2e3434" android:pathData="m7,0c-1,0 -1,1 -1,1v1h-1s-0.707,-0.016 -1.445,0.355c-0.742,0.371 -1.555,1.313 -1.555,2.645v8s-0.016,0.707 0.355,1.449c0.371,0.738 1.313,1.551 2.645,1.551h6s0.707,0.016 1.449,-0.355c0.738,-0.371 1.551,-1.313 1.551,-2.645v-8c0,-1.332 -0.813,-2.273 -1.551,-2.645c-0.742,-0.371 -1.449,-0.355 -1.449,-0.355h-1v-1c0,-1 -1,-1 -1,-1zM8,4h3c0.555,0 1,0.445 1,1v8c0,0.555 -0.445,1 -1,1h-6c-0.555,0 -1,-0.445 -1,-1v-8c0,-0.555 0.445,-1 1,-1zM5,7v6h6v-6zM5,7"/>
</vector>

View File

@@ -0,0 +1,4 @@
<vector android:height="200dp" android:viewportHeight="24"
android:viewportWidth="24" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,2A10,10 0,1 0,22 12,10 10,0 0,0 12,2ZM12,20a8,8 0,1 1,8 -8A8,8 0,0 1,12 20ZM18,12.75a1.25,1.25 0,1 1,-1.25 -1.25A1.25,1.25 0,0 1,18 12.75ZM13.5,16.5A1.5,1.5 0,1 1,12 15,1.5 1.5,0 0,1 13.5,16.5ZM8.5,12.75A1.25,1.25 0,1 1,7.25 11.5,1.25 1.25,0 0,1 8.5,12.75ZM9.5,10A1.5,1.5 0,1 1,11 8.5,1.5 1.5,0 0,1 9.5,10ZM14.5,10A1.5,1.5 0,1 1,16 8.5,1.5 1.5,0 0,1 14.5,10Z"/>
</vector>

View File

@@ -0,0 +1,4 @@
<vector android:height="200dp" android:viewportHeight="15"
android:viewportWidth="15" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M13,6L13,6v5.5c0,0.276 -0.224,0.5 -0.5,0.5S12,11.776 12,11.5v-2C12,8.672 11.328,8 10.5,8H9V2c0,-0.552 -0.448,-1 -1,-1H2C1.448,1 1,1.448 1,2v11c0,0.552 0.448,1 1,1h6c0.552,0 1,-0.448 1,-1V9h1.5C10.776,9 11,9.224 11,9.5v2c0,0.828 0.672,1.5 1.5,1.5s1.5,-0.672 1.5,-1.5V5c0,-0.552 -0.448,-1 -1,-1l0,0V2.49C12.995,2.218 12.772,2 12.5,2c-0.282,0.005 -0.506,0.237 -0.502,0.518C11.999,2.529 11.999,2.539 12,2.55V5C12,5.552 12.448,6 13,6s1,-0.448 1,-1s-0.448,-1 -1,-1M8,6.5C8,6.776 7.776,7 7.5,7h-5C2.224,7 2,6.776 2,6.5v-3C2,3.224 2.224,3 2.5,3h5C7.776,3 8,3.224 8,3.5V6.5z"/>
</vector>

View File

@@ -0,0 +1,14 @@
<vector android:height="200dp" android:viewportHeight="25"
android:viewportWidth="25" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#00000000"
android:pathData="M18.15,17L3.5,17C3.22,17 3,16.78 3,16.5L3,8.5C3,8.22 3.22,8 3.5,8L18.15,8C18.43,8 18.65,8.22 18.65,8.5L18.65,16.5C18.65,16.78 18.42,17 18.15,17Z"
android:strokeColor="#0F0F0F" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="1"/>
<path android:fillColor="#00000000"
android:pathData="M20.88,10.81L21.5,10.81C21.78,10.81 22,11.03 22,11.31L22,13.69C22,13.97 21.78,14.19 21.5,14.19L20.88,14.19"
android:strokeColor="#0F0F0F" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="1"/>
<path android:fillColor="#00000000"
android:pathData="M5.23,10.25L5.23,14.75"
android:strokeColor="#0F0F0F" android:strokeLineCap="round" android:strokeWidth="1"/>
</vector>

View File

@@ -0,0 +1,4 @@
<vector android:height="200dp" android:viewportHeight="501.02"
android:viewportWidth="501.02" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#000000" android:pathData="M242.1,115.92L242.1,115.92h-0.01V96.01V56.19h0.01h16.8v59.73h-0.02v0.01l-8.39,-0.01H242.1zM39.56,317.1l41.92,-7.39l16.91,-2.98v-0.01h0.01l-1.48,-8.33l-1.44,-8.19h-0.01v-0.01l-58.83,10.37L39.56,317.1zM411.27,169.23l-30.23,17.44v0.01l0,0l4.66,8.09l3.73,6.45l0,0l51.73,-29.86l-8.4,-14.55L411.27,169.23zM150.24,390.92l-6.62,-5.56l0,0l0,0l-38.4,45.75l12.88,10.81l16.71,-19.92l21.69,-25.84l0,0L150.24,390.92zM432.56,386.81l8.39,-14.56l-18.05,-10.42l-33.67,-19.46v0.01l0,0l-4.64,8.03l-3.75,6.51l0,0v0.01L432.56,386.81zM36.7,242.28l20.98,3.69l37.84,6.69v-0.01h0.01l2.5,-14.22l0.41,-2.33v-0.01l-58.83,-10.38L36.7,242.28zM461.04,226.16l-15.99,2.81l-42.84,7.54v0.01h-0.01l2.16,12.26l0.76,4.28l0,0v0.01l58.84,-10.37L461.04,226.16zM189.35,128.1v0.01l13.64,-4.97l2.14,-0.78h0.01l-20.42,-56.14l-15.79,5.76l2.91,8L189.35,128.1L189.35,128.1zM67.81,386.43l51.72,-29.86v-0.01l0,0l-6.47,-11.2l-1.93,-3.35l0,0l0,0l-51.73,29.86l8.4,14.55h0.01V386.43zM343.78,396.43l38.4,45.77L395.04,431.4v-0.01l-38.38,-45.76v0.01v-0.01l-8.93,7.49L343.78,396.43L343.78,396.43zM59.63,170.99L59.63,170.99l51.73,29.88l0,0l7.28,-12.61l1.12,-1.94v-0.01l-51.73,-29.86L59.63,170.99zM463.88,300.97L463.88,300.97l-58.82,-10.38l-0.63,3.55l-2.29,13l58.83,10.38L463.88,300.97zM118.41,101.05l-12.87,10.8l14.11,16.81l24.29,28.95l0,0l0,0l7.6,-6.38l5.26,-4.41l0,0l0.01,-0.01L118.41,101.05zM311.25,80.2L295.85,122.5l0.01,0.01l0,0l10.52,3.82l5.26,1.91l0,0h0.01l20.43,-56.13l-15.79,-5.74L311.25,80.2zM353.71,155.15l3.26,2.73l0,0l0,0l38.4,-45.77l-12.87,-10.79h-0.01l0,0l-38.4,45.75l0,0v0.01L353.71,155.15zM250.51,27.02C112.38,27.02 0,139.39 0,277.53c0,79.57 37.33,150.54 95.36,196.46h25.36C57.04,431.78 14.94,359.49 14.94,277.53c0,-129.9 105.67,-235.57 235.57,-235.57c129.9,0 235.57,105.67 235.57,235.57c0,81.96 -42.1,154.25 -105.79,196.46h25.36c58.02,-45.93 95.36,-116.89 95.36,-196.46C501.02,139.4 388.63,27.02 250.51,27.02zM201.61,387.23c5.26,0 7.88,-5.24 7.88,-15.7c0,-10.83 -2.57,-16.25 -7.71,-16.25c-5.42,0 -8.14,5.5 -8.14,16.52C193.63,382.09 196.29,387.23 201.61,387.23zM179.15,336.71h44.55v69.7h-44.55V336.71zM189.18,372.01c0,6.12 1.05,10.79 3.16,14.03c2.11,3.23 5.05,4.86 8.82,4.86c4.03,0 7.16,-1.7 9.41,-5.08c2.25,-3.4 3.37,-8.3 3.37,-14.73c0,-12.99 -3.98,-19.48 -11.93,-19.48c-4.16,0 -7.33,1.71 -9.53,5.17C190.28,360.21 189.18,365.29 189.18,372.01zM229.56,336.71h43.75v69.7H229.56V336.71zM241.05,389.33c1.74,1.04 4.36,1.57 7.87,1.57c4.17,0 7.46,-1.12 9.85,-3.37s3.59,-5.21 3.59,-8.89c0,-3.55 -1.11,-6.35 -3.33,-8.39c-2.23,-2.03 -5.38,-3.06 -9.44,-3.06c-0.99,0 -2.07,0.04 -3.23,0.11v-11.14h14.29v-3.92h-18.4V371.3c2.92,-0.21 4.91,-0.32 5.96,-0.32c3.14,0 5.54,0.7 7.21,2.09c1.68,1.4 2.52,3.35 2.52,5.83c0,2.52 -0.82,4.53 -2.47,6.05c-1.65,1.52 -3.81,2.28 -6.49,2.28c-2.69,0 -5.33,-0.84 -7.93,-2.52v4.61H241.05zM277.85,336.71h44.01v69.7h-44.01V336.71zM288.79,372.01c0,6.12 1.05,10.79 3.17,14.03c2.11,3.23 5.05,4.86 8.82,4.86c4.03,0 7.17,-1.7 9.41,-5.08c2.25,-3.4 3.37,-8.3 3.37,-14.73c0,-12.99 -3.98,-19.48 -11.94,-19.48c-4.15,0 -7.33,1.71 -9.53,5.17C289.89,360.21 288.79,365.29 288.79,372.01zM301.23,387.23c5.25,0 7.88,-5.24 7.88,-15.7c0,-10.83 -2.57,-16.25 -7.71,-16.25c-5.43,0 -8.14,5.5 -8.14,16.52C293.24,382.09 295.9,387.23 301.23,387.23zM257.82,300.73c-1.05,0 -1.97,0.38 -2.94,0.58L140.06,200.02L242.19,314.97c-0.07,0.58 -0.36,1.1 -0.36,1.67c0,8.85 7.14,16 15.98,16c8.78,0 15.92,-7.15 15.92,-16C273.75,307.88 266.6,300.73 257.82,300.73z"/>
</vector>

View File

@@ -0,0 +1,16 @@
<vector android:height="200dp" android:viewportHeight="24"
android:viewportWidth="24" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#00000000"
android:pathData="M9.11,5.08c0,2.39 -3.81,6 -3.81,6s-3.82,-3.58 -3.82,-6A3.7,3.7 0,0 1,5.3 1.5,3.7 3.7,0 0,1 9.11,5.08Z"
android:strokeColor="#020202" android:strokeWidth="1.91"/>
<path android:fillColor="#020202" android:pathData="M5.3,5.32m-0.95,0a0.95,0.95 0,1 1,1.9 0a0.95,0.95 0,1 1,-1.9 0"/>
<path android:fillColor="#00000000"
android:pathData="M4.34,13h4.3A2.39,2.39 0,0 1,11 15.34h0a2.39,2.39 0,0 1,-2.38 2.39H3.86a2.39,2.39 0,0 0,-2.38 2.38h0A2.39,2.39 0,0 0,3.86 22.5H17.7"
android:strokeColor="#020202" android:strokeWidth="1.91"/>
<path android:fillColor="#00000000"
android:pathData="M16.75,9.14L16.75,20.59"
android:strokeColor="#020202" android:strokeWidth="1.91"/>
<path android:fillColor="#00000000"
android:pathData="M16.75,14.86l4.77,0l-0.95,-1.9l0.95,-1.92l-4.77,0l0,3.82z"
android:strokeColor="#020202" android:strokeWidth="1.91"/>
</vector>

View File

@@ -0,0 +1,30 @@
<vector android:height="200dp" android:viewportHeight="48"
android:viewportWidth="48" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="0.01" android:fillColor="#ffffff" android:pathData="M0,0h48v48h-48z"/>
<path android:fillColor="#2F88FF"
android:pathData="M30.297,18.779C30.297,18.779 27.068,27.881 25.533,29.47C23.999,31.059 21.466,31.103 19.877,29.569C18.288,28.034 18.244,25.502 19.779,23.913C21.313,22.324 30.297,18.779 30.297,18.779Z"
android:strokeColor="#000000" android:strokeLineJoin="round" android:strokeWidth="4"/>
<path android:fillColor="#00000000"
android:pathData="M38.849,38.849C42.65,35.049 45,29.799 45,24C45,12.402 35.598,3 24,3C12.402,3 3,12.402 3,24C3,29.799 5.351,35.049 9.151,38.849"
android:strokeColor="#000000" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="4"/>
<path android:fillColor="#00000000" android:pathData="M24,4V8"
android:strokeColor="#000000" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="4"/>
<path android:fillColor="#00000000"
android:pathData="M38.845,11.142L35.737,13.659"
android:strokeColor="#000000" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="4"/>
<path android:fillColor="#00000000"
android:pathData="M42.522,27.233L38.625,26.333"
android:strokeColor="#000000" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="4"/>
<path android:fillColor="#00000000"
android:pathData="M5.477,27.233L9.375,26.333"
android:strokeColor="#000000" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="4"/>
<path android:fillColor="#00000000"
android:pathData="M9.155,11.142L12.263,13.659"
android:strokeColor="#000000" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="4"/>
</vector>

View File

@@ -0,0 +1,8 @@
<vector android:height="200dp" android:viewportHeight="398.8"
android:viewportWidth="398.8" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#000000" android:pathData="M295.23,142.7c-9.9,-44.67 -19.8,-89.34 -29.71,-134c-16.72,0 -33.44,0 -50.15,0c2.39,44.67 4.78,89.34 7.17,134H295.23z"/>
<path android:fillColor="#000000" android:pathData="M226.35,214c3.14,58.7 6.29,117.4 9.43,176.11c38.09,0 76.19,0 114.28,0c-13.01,-58.7 -26.02,-117.4 -39.03,-176.11H226.35z"/>
<path android:fillColor="#000000" android:pathData="M183.43,8.69c-16.72,0 -33.43,0 -50.15,0c-9.9,44.67 -19.8,89.33 -29.7,134h72.68C178.66,98.03 181.04,53.36 183.43,8.69z"/>
<path android:fillColor="#000000" android:pathData="M48.74,390.11c38.1,0 76.19,0 114.28,0c3.15,-58.7 6.29,-117.4 9.43,-176.11H87.79C74.78,272.71 61.76,331.41 48.74,390.11z"/>
<path android:fillColor="#000000" android:pathData="M394.18,161.21H4.63c-2.56,0 -4.63,2.07 -4.63,4.63v25.02c0,2.56 2.07,4.63 4.63,4.63h25.05v37.48c0,2.56 2.07,4.63 4.63,4.63h25c2.12,0 3.96,-1.44 4.48,-3.49l9.82,-38.62h251.6l9.82,38.62c0.52,2.05 2.37,3.49 4.49,3.49h24.99c2.56,0 4.63,-2.07 4.63,-4.63v-37.48h25.05c2.56,0 4.63,-2.07 4.63,-4.63v-25.02C398.8,163.28 396.73,161.21 394.18,161.21z"/>
</vector>