mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-09 13:54:37 +00:00
[android] Add current speed widget
Signed-off-by: TobiPeterG <codeberg.sadness522@passmail.net>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
<declare-styleable name="SpeedLimitView">
|
||||
<attr name="speedLimitBackgroundColor" format="color" />
|
||||
<attr name="speedLimitBorderColor" format="color" />
|
||||
<attr name="speedLimitUnlimitedBorderColor" format="color" />
|
||||
<attr name="speedLimitUnlimitedStripeColor" format="color" />
|
||||
<attr name="speedLimitAlertColor" format="color" />
|
||||
<attr name="speedLimitTextColor" format="color" />
|
||||
<attr name="speedLimitTextAlertColor" format="color" />
|
||||
@@ -11,6 +13,14 @@
|
||||
<attr name="speedLimitEditModeAlert" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="CurrentSpeedView">
|
||||
<attr name="currentSpeedBackgroundColor" format="color" />
|
||||
<attr name="currentSpeedBorderColor" format="color" />
|
||||
<attr name="currentSpeedTextColor" format="color" />
|
||||
<!-- These values are used only in edit mode -->
|
||||
<attr name="currentSpeedEditModeCurrentSpeed" format="integer" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="LanesView">
|
||||
<attr name="lanesActiveLaneTintColor" format="reference" />
|
||||
<attr name="lanesInactiveLaneTintColor" format="color" />
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
<item name="speedLimitBorderColor">@color/base_red</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmWidget.CurrentSpeed">
|
||||
<item name="speedLimitBorderColor">@color/black_primary</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmWidget.FrameLayout"/>
|
||||
|
||||
<style name="MwmWidget.Downloader"/>
|
||||
|
||||
Reference in New Issue
Block a user