Skip to content

Commit

Permalink
Added images for Vehicle Metrics plugin settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpr0 committed Sep 25, 2024
1 parent b86da1a commit 3866470
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
52 changes: 52 additions & 0 deletions OsmAnd/res/drawable/img_help_ehicle_metrics_day.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="328dp"
android:height="144dp"
android:viewportWidth="328"
android:viewportHeight="144">
<path
android:pathData="M6,0L322,0A6,6 0,0 1,328 6L328,138A6,6 0,0 1,322 144L6,144A6,6 0,0 1,0 138L0,6A6,6 0,0 1,6 0z"
android:fillColor="#F3F4F6"/>
<path
android:pathData="M211.05,144H221.277C242.437,127.144 256,101.156 256,72C256,42.844 242.437,16.856 221.277,0H211.05C234.505,15.359 250,41.87 250,72C250,102.13 234.505,128.641 211.05,144Z"
android:strokeAlpha="0.8"
android:fillColor="#E2E4E9"
android:fillAlpha="0.8"/>
<path
android:pathData="M106.723,144H116.95C93.494,128.641 78,102.13 78,72C78,41.87 93.494,15.359 116.95,0H106.723C85.563,16.856 72,42.844 72,72C72,101.156 85.563,127.144 106.723,144Z"
android:strokeAlpha="0.8"
android:fillColor="#E2E4E9"
android:fillAlpha="0.8"/>
<path
android:pathData="M277.033,144H284.091C296.731,122.962 304,98.33 304,72C304,45.67 296.731,21.038 284.091,0H277.033C290.307,20.796 298,45.5 298,72C298,98.501 290.307,123.204 277.033,144Z"
android:strokeAlpha="0.6"
android:fillColor="#E2E4E9"
android:fillAlpha="0.6"/>
<path
android:pathData="M43.909,144H50.967C37.693,123.204 30,98.501 30,72C30,45.5 37.693,20.796 50.967,0H43.909C31.269,21.038 24,45.67 24,72C24,98.33 31.269,122.962 43.909,144Z"
android:strokeAlpha="0.6"
android:fillColor="#E2E4E9"
android:fillAlpha="0.6"/>
<path
android:pathData="M197.75,94.5V72C199.821,72 201.5,70.321 201.5,68.25C201.5,66.179 199.821,64.5 197.75,64.5H194L191.295,48.267C190.692,44.651 187.563,42 183.897,42H144.103C140.437,42 137.308,44.651 136.705,48.267L134,64.5H130.25C128.179,64.5 126.5,66.179 126.5,68.25C126.5,70.321 128.179,72 130.25,72V96.375C130.25,99.482 132.768,102 135.875,102C138.982,102 141.5,99.482 141.5,96.375V94.5H186.82C186.613,95.087 186.5,95.718 186.5,96.375C186.5,99.482 189.018,102 192.125,102C195.232,102 197.75,99.482 197.75,96.375C197.75,95.718 197.637,95.087 197.43,94.5H197.75ZM183.897,49.5L186.397,64.5H141.603L144.103,49.5H183.897Z"
android:fillColor="#237BFF"
android:fillType="evenOdd"/>
<path
android:pathData="M186.397,64.5L183.897,49.5H144.103L141.603,64.5H186.397Z"
android:fillColor="#D1E6FF"
android:fillType="evenOdd"/>
<path
android:pathData="M143.375,72C140.268,72 137.75,74.519 137.75,77.625C137.75,80.732 140.268,83.25 143.375,83.25C146.482,83.25 149,80.732 149,77.625C149,74.519 146.482,72 143.375,72Z"
android:fillColor="#FFBF00"/>
<path
android:pathData="M184.625,72C181.518,72 179,74.519 179,77.625C179,80.732 181.518,83.25 184.625,83.25C187.732,83.25 190.25,80.732 190.25,77.625C190.25,74.519 187.732,72 184.625,72Z"
android:fillColor="#FFBF00"/>
<path
android:pathData="M205.25,79.5C205.25,91.926 195.176,102 182.75,102C170.324,102 160.25,91.926 160.25,79.5C160.25,67.074 170.324,57 182.75,57C195.176,57 205.25,67.074 205.25,79.5Z"
android:fillColor="#FFC107"/>
<path
android:pathData="M186.5,72V64.5L179,64.5L179,72H186.5Z"
android:fillColor="#2D3C53"/>
<path
android:pathData="M186.5,94.5L186.5,79.5H179L179,94.5H186.5Z"
android:fillColor="#2D3C53"/>
</vector>
52 changes: 52 additions & 0 deletions OsmAnd/res/drawable/img_help_vehicle_metrics_night.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="328dp"
android:height="144dp"
android:viewportWidth="328"
android:viewportHeight="144">
<path
android:pathData="M6,0L322,0A6,6 0,0 1,328 6L328,138A6,6 0,0 1,322 144L6,144A6,6 0,0 1,0 138L0,6A6,6 0,0 1,6 0z"
android:fillColor="#121212"/>
<path
android:pathData="M211.05,144H221.277C242.437,127.144 256,101.156 256,72C256,42.844 242.437,16.856 221.277,0H211.05C234.505,15.359 250,41.87 250,72C250,102.13 234.505,128.641 211.05,144Z"
android:strokeAlpha="0.8"
android:fillColor="#272B32"
android:fillAlpha="0.8"/>
<path
android:pathData="M106.723,144H116.95C93.494,128.641 78,102.13 78,72C78,41.87 93.494,15.359 116.95,0H106.723C85.563,16.856 72,42.844 72,72C72,101.156 85.563,127.144 106.723,144Z"
android:strokeAlpha="0.8"
android:fillColor="#272B32"
android:fillAlpha="0.8"/>
<path
android:pathData="M277.033,144H284.091C296.731,122.962 304,98.33 304,72C304,45.67 296.731,21.038 284.091,0H277.033C290.307,20.796 298,45.5 298,72C298,98.501 290.307,123.204 277.033,144Z"
android:strokeAlpha="0.6"
android:fillColor="#272B32"
android:fillAlpha="0.6"/>
<path
android:pathData="M43.909,144H50.967C37.693,123.204 30,98.501 30,72C30,45.5 37.693,20.796 50.967,0H43.909C31.269,21.038 24,45.67 24,72C24,98.33 31.269,122.962 43.909,144Z"
android:strokeAlpha="0.6"
android:fillColor="#272B32"
android:fillAlpha="0.6"/>
<path
android:pathData="M197.75,94.5V72C199.821,72 201.5,70.321 201.5,68.25C201.5,66.179 199.821,64.5 197.75,64.5H194L191.295,48.267C190.692,44.651 187.563,42 183.897,42H144.103C140.437,42 137.308,44.651 136.705,48.267L134,64.5H130.25C128.179,64.5 126.5,66.179 126.5,68.25C126.5,70.321 128.179,72 130.25,72V96.375C130.25,99.482 132.768,102 135.875,102C138.982,102 141.5,99.482 141.5,96.375V94.5H186.82C186.613,95.087 186.5,95.718 186.5,96.375C186.5,99.482 189.018,102 192.125,102C195.232,102 197.75,99.482 197.75,96.375C197.75,95.718 197.637,95.087 197.43,94.5H197.75ZM183.897,49.5L186.397,64.5H141.603L144.103,49.5H183.897Z"
android:fillColor="#237BFF"
android:fillType="evenOdd"/>
<path
android:pathData="M186.397,64.5L183.897,49.5H144.103L141.603,64.5H186.397Z"
android:fillColor="#D1E6FF"
android:fillType="evenOdd"/>
<path
android:pathData="M143.375,72C140.268,72 137.75,74.519 137.75,77.625C137.75,80.732 140.268,83.25 143.375,83.25C146.482,83.25 149,80.732 149,77.625C149,74.519 146.482,72 143.375,72Z"
android:fillColor="#FFBF00"/>
<path
android:pathData="M184.625,72C181.518,72 179,74.519 179,77.625C179,80.732 181.518,83.25 184.625,83.25C187.732,83.25 190.25,80.732 190.25,77.625C190.25,74.519 187.732,72 184.625,72Z"
android:fillColor="#FFBF00"/>
<path
android:pathData="M205.25,79.5C205.25,91.926 195.176,102 182.75,102C170.324,102 160.25,91.926 160.25,79.5C160.25,67.074 170.324,57 182.75,57C195.176,57 205.25,67.074 205.25,79.5Z"
android:fillColor="#FFC107"/>
<path
android:pathData="M186.5,72V64.5L179,64.5L179,72H186.5Z"
android:fillColor="#2D3C53"/>
<path
android:pathData="M186.5,94.5L186.5,79.5H179L179,94.5H186.5Z"
android:fillColor="#2D3C53"/>
</vector>

0 comments on commit 3866470

Please sign in to comment.