[android] Apply new dark background on bottomsheet and map buttons

Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2026-01-03 23:36:28 +01:00
parent 5e8d2e1a59
commit 229bf02b8b
7 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/bg_cards"/>
<solid android:color="@color/bg_app"/>
<corners android:radius="8dp"/>
</shape>

View File

@@ -40,6 +40,5 @@
android:id="@+id/nav_bottom_sheet_nav_bar"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_gravity="bottom|start"
android:background="?cardBackground"/>
android:layout_gravity="bottom|start" />
</FrameLayout>

View File

@@ -40,5 +40,5 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_gravity="bottom|center"
android:background="?cardBackground"/>
android:background="?appBackground"/>
</FrameLayout>

View File

@@ -4,6 +4,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:background="?cardBackground"
android:orientation="vertical">
<include
android:id="@+id/pp__preview"

View File

@@ -15,8 +15,9 @@
<color name="bg_cards">#FF3C4044</color>
<color name="bg_panel">@color/bg_window</color>
<color name="bg_primary_dark">#FF588157</color>
<color name="bg_app">#10140F</color>
<color name="bg_menu">#CC2D3237</color>
<color name="bg_menu">#CC10140F</color>
<color name="bg_statusbar">#004120</color>

View File

@@ -290,13 +290,13 @@
</style>
<style name="MwmWidget.BottomSheetDialog" parent="Widget.Material3.BottomSheet.Modal">
<item name="backgroundTint">?cardBackground</item>
<item name="backgroundTint">?appBackground</item>
<item name="elevationOverlayEnabled">false</item>
<item name="shapeAppearance">@style/ShapeAppearance.Material3.LargeComponent</item>
</style>
<style name="MwmWidget.BottomSheet" parent="MwmWidget.BottomSheetDialog">
<item name="android:background">?cardBackground</item>
<item name="android:background">?appBackground</item>
<item name="behavior_hideable">false</item>
</style>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="40" height="40" version="1.1" viewBox="0 0 40 40" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<path d="m20 1.9866a18.013 18.013 0 0 0-18.013 18.013 18.013 18.013 0 0 0 18.013 18.013 18.013 18.013 0 0 0 18.013-18.013 18.013 18.013 0 0 0-18.013-18.013zm-5.0402 18.013h3.0653c-1.42e-4 1.0908 0.88413 1.975 1.9749 1.9749 1.0908 1.41e-4 1.975-0.88413 1.9749-1.9749h3.0653l-5.0402 13.727z" fill="#3c3f44" opacity=".8"/>
<path d="m20 1.9866a18.013 18.013 0 0 0-18.013 18.013 18.013 18.013 0 0 0 18.013 18.013 18.013 18.013 0 0 0 18.013-18.013 18.013 18.013 0 0 0-18.013-18.013zm-5.0402 18.013h3.0653c-1.42e-4 1.0908 0.88413 1.975 1.9749 1.9749 1.0908 1.41e-4 1.975-0.88413 1.9749-1.9749h3.0653l-5.0402 13.727z" fill="#10140FFF" opacity=".8"/>
<path d="m20 6.2729-5.0402 13.727h3.0653c-1.42e-4 -1.0908 0.88413-1.975 1.9749-1.9749 1.0908-1.42e-4 1.975 0.88413 1.9749 1.9749h3.0653z" fill="#c2352b"/>
<path d="m14.96 20 5.0402 13.727 5.0402-13.727m-3.0653 0c1.41e-4 1.0908-0.88413 1.975-1.9749 1.9749-1.0908 1.41e-4 -1.975-0.88413-1.9749-1.9749" fill="#7f8085" opacity=".69"/>
</svg>

Before

Width:  |  Height:  |  Size: 819 B

After

Width:  |  Height:  |  Size: 821 B