forked from organicmaps/organicmaps
[android] Make all map buttons use the same background color
Signed-off-by: Arnaud Vergnet <arnaud.vergnet@mailo.com>
This commit is contained in:
parent
1c8ff4a51f
commit
01b4913b1d
3 changed files with 1 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
|||
<style name="MwmWidget.MapButton" parent="Theme.Material3.Dark">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:backgroundTint">?mapButtonBackground</item>
|
||||
<item name="android:backgroundTint">?menuBackground</item>
|
||||
<item name="elevation">0dp</item>
|
||||
<item name="hoveredFocusedTranslationZ">0dp</item>
|
||||
<item name="pressedTranslationZ">0dp</item>
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
<attr name="primaryButtonBackground" format="reference" />
|
||||
<attr name="circleAccent" format="reference" />
|
||||
<attr name="menuBackground" format="color" />
|
||||
<attr name="mapButtonBackground" format="color" />
|
||||
<attr name="myPositionButtonAnimation" format="reference" />
|
||||
<attr name="wheelPendingAnimation" format="reference" />
|
||||
<attr name="trafficLoadingAnimation" format="reference" />
|
||||
|
|
|
@ -71,7 +71,6 @@
|
|||
<item name="circleAccent">@drawable/circle_accent</item>
|
||||
|
||||
<item name="menuBackground">@color/bg_menu</item>
|
||||
<item name="mapButtonBackground">@color/bg_map_button</item>
|
||||
|
||||
<item name="myPositionButtonAnimation">@drawable/anim_myposition_pending</item>
|
||||
<item name="wheelPendingAnimation">@drawable/anim_spinner_pending</item>
|
||||
|
@ -249,7 +248,6 @@
|
|||
<item name="circleAccent">@drawable/circle_accent_night</item>
|
||||
|
||||
<item name="menuBackground">@color/bg_menu_night</item>
|
||||
<item name="mapButtonBackground">@color/bg_map_button_night</item>
|
||||
|
||||
<item name="myPositionButtonAnimation">@drawable/anim_myposition_pending_night</item>
|
||||
<item name="wheelPendingAnimation">@drawable/anim_spinner_pending</item>
|
||||
|
|
Loading…
Add table
Reference in a new issue