Skip to content

Commit

Permalink
Bolt theme
Browse files Browse the repository at this point in the history
  • Loading branch information
pagrey committed Feb 2, 2025
1 parent 7595c83 commit 217532f
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_theme_bolt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/sw_background_bolt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<item>Aston Martin</item>
<item>Electro Vehicle</item>
<item>Test</item>
<item>Bolt</item>
</string-array>

<array name="ThemesThumbs">
Expand Down Expand Up @@ -53,6 +54,7 @@
<item>@drawable/ic_theme_am</item>
<item>@drawable/ic_theme_ev</item>
<item>@drawable/ic_theme_test</item>
<item>@drawable/ic_theme_bolt</item>
</array>

<array name="ThemeList">
Expand Down Expand Up @@ -80,6 +82,7 @@
<item>@style/AppTheme.AM</item>
<item>@style/AppTheme.EV</item>
<item>@style/AppTheme.Testing</item>
<item>@style/AppTheme.Bolt</item>
</array>

<string-array name="fontEntries">
Expand Down Expand Up @@ -297,6 +300,7 @@
<item>@drawable/thumb_background_incar_aa</item>
<item>@drawable/thumb_background_incar_ev</item>
<item>@drawable/thumb_background_incar_test</item>
<item>@drawable/thumb_background_incar_bolt</item>
</array>

<string-array name="backgroundstrings">
Expand All @@ -322,6 +326,7 @@
<item>@string/bg_aa</item>
<item>@string/bg_ev</item>
<item>@string/bg_test</item>
<item>@string/bg_bolt</item>
</string-array>

<array name="backgrounds">
Expand All @@ -347,6 +352,7 @@
<item>background_incar_aa</item>
<item>background_incar_ev</item>
<item>background_incar_test</item>
<item>background_incar_bolt</item>
</array>
<string-array name="minmax_enum_value">
<item>0</item>
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
<string name="bg_skodaone">OneApp</string>
<string name="bg_blackboard">Blackboard</string>
<string name="bg_test">Test</string>
<string name="bg_bolt">Bolt</string>
<string name="bg_beetle">Herbie</string>
<string name="pref_background">Background</string>
<string name="font_ford" translatable="false">United Sans</string>
Expand Down Expand Up @@ -195,4 +196,4 @@
<string name="value">Value</string>
<string name="color">Color</string>
<string name="invalid_settings">Attempted to import invalid settings file.</string>
</resources>
</resources>
19 changes: 19 additions & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,25 @@
</style>


<style name="AppTheme.Bolt" parent="@style/AppTheme">
<item name="sv_indicator">QuarterLineIndicator</item>
<item name="sv_indicatorColor">#ff33bb11</item>
<item name="sv_indicatorLightColor">#ff33bb11</item>
<item name="sv_indicatorWidth">6.0dip</item>
<item name="sv_speedometerWidth">40.0dip</item>
<item name="sv_tickPadding">20.0dip</item>
<item name="sv_tickRotation">false</item>
<item name="sv_withIndicatorLight">true</item>
<item name="themedBlankDialBackground">@drawable/dial_background_blank_bolt</item>
<item name="themedCarBackground">@drawable/background_incar_bolt</item>
<item name="themedDialBackground">@drawable/dial_background_bolt</item>
<item name="themedEmptyDialBackground">@drawable/dial_background_empty_bolt</item>
<item name="themedNeedle">@drawable/needle</item>
<item name="themedNeedleColor">@color/green</item>
<item name="themedStopWatchBackground">@drawable/sw_background_bolt</item>
</style>


<style name="AppTheme.ProgressBar.Horizontal" parent="Widget.AppCompat.ProgressBar.Horizontal">
<item name="android:progressDrawable">@drawable/progress_vertical_material_car</item>
<item name="android:minWidth">@dimen/progress_bar_height_material_car</item>
Expand Down

0 comments on commit 217532f

Please sign in to comment.