[AA] Refactored Android Auto Logic to be extendable

Refactored the AA logic so it is more easy to be extended
in future. Also changed from a standard Grid to a Tabbed grid
and prepared a UI for the Vehicle Information values
That will be added in the next commit.
This commit is contained in:
Alexander Dörflinger
2025-04-15 13:53:30 +02:00
parent 05151d49fa
commit a74c60a143
20 changed files with 634 additions and 200 deletions

View File

@@ -0,0 +1,8 @@
<vector android:height="200dp" android:viewportHeight="512"
android:viewportWidth="512" android:width="200dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#000000" android:pathData="M147.4,277.97c-24.67,0 -44.67,19.98 -44.67,44.67c0.02,24.67 19.98,44.64 44.67,44.67c24.69,-0.03 44.66,-20 44.69,-44.67c0.02,-12.33 -5.02,-23.55 -13.09,-31.61C170.95,282.97 159.7,277.95 147.4,277.97zM147.4,346.58c-13.23,-0.03 -23.92,-10.73 -23.95,-23.94c0.03,-13.27 10.72,-23.92 23.95,-23.95c13.25,0 23.95,10.69 23.95,23.95C171.34,335.84 160.64,346.55 147.4,346.58z"/>
<path android:fillColor="#000000" android:pathData="M388.78,277.97c-24.69,0 -44.7,19.97 -44.7,44.67c0.02,24.67 20,44.64 44.7,44.67c24.67,-0.03 44.64,-20 44.66,-44.67C433.43,297.95 413.43,277.97 388.78,277.97zM388.78,346.58c-13.23,-0.03 -23.95,-10.75 -23.97,-23.94c0.02,-13.25 10.73,-23.92 23.97,-23.95c13.23,0.03 23.92,10.69 23.94,23.95C412.7,335.84 401.99,346.55 388.78,346.58z"/>
<path android:fillColor="#000000" android:pathData="M147.4,313.84c-4.84,0 -8.78,3.94 -8.78,8.8c0,4.84 3.94,8.8 8.78,8.8s8.78,-3.95 8.78,-8.8C156.18,317.78 152.24,313.84 147.4,313.84z"/>
<path android:fillColor="#000000" android:pathData="M388.76,313.84c-4.84,0 -8.78,3.94 -8.78,8.8c0,4.84 3.94,8.8 8.78,8.8c4.83,0 8.77,-3.95 8.77,-8.8C397.53,317.78 393.59,313.84 388.76,313.84z"/>
<path android:fillColor="#000000" android:pathData="M508.12,223.53c-3.13,-3.72 -7.77,-5.91 -12.66,-5.91h-70.98l-35.95,-62.56c-3.7,-6.41 -10.52,-10.38 -17.92,-10.38H195.01c-6.36,0 -12.36,2.94 -16.28,7.94l-44.63,57.06c-3.92,5.02 -9.94,7.94 -16.28,7.94H16.54c-4.86,0 -9.45,2.16 -12.61,5.84c-3.13,3.69 -4.5,8.58 -3.72,13.36l17.17,66.88c2.33,9.17 10.59,15.56 20.06,15.55l55.28,-0.13c1.84,-28.69 25.52,-51.53 54.67,-51.53c14.73,0 28.55,5.73 38.94,16.13c9.5,9.47 14.84,21.88 15.73,35.17l132.06,-0.34c2.14,-28.41 25.69,-50.95 54.64,-50.95c28.86,0 52.33,22.41 54.58,50.72l41.11,-0.09c10.55,-0.02 19.36,-7.97 20.52,-18.44l6.77,-62.75C512.6,232.22 511.28,227.28 508.12,223.53zM283.03,221.02H154.18l41.84,-53.52h87V221.02zM310.21,221.02V167.5h59.16l30.77,53.52H310.21z"/>
</vector>