Compare commits

..

1 Commits

Author SHA1 Message Date
Jean-Baptiste
b852e99232 [android] Use default background color on bottomsheet
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2026-01-11 13:17:14 +01:00
16 changed files with 20 additions and 20 deletions

View File

@@ -7,7 +7,7 @@
android:layout_height="wrap_content"
android:paddingTop="@dimen/margin_base"
android:paddingBottom="@dimen/margin_base"
android:background="?appBackground"
android:background="?cardBackground"
android:clickable="true"
android:focusable="true"
android:fillViewport="true"

View File

@@ -41,5 +41,5 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_gravity="bottom|start"
android:background="?colorSurfaceContainerLow"/>
android:background="?appBackground"/>
</FrameLayout>

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/elevation_profile_content_height"
android:background="?appBackground"
android:background="?cardBackground"
android:orientation="vertical">
<app.organicmaps.widget.placepage.ElevationProfileChart
android:id="@+id/elevation_profile_chart"

View File

@@ -5,7 +5,7 @@
android:id="@+id/elevation_profile"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?appBackground"
android:background="?cardBackground"
android:clickable="true"
android:fillViewport="true"
android:focusable="true"

View File

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

View File

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

View File

@@ -12,7 +12,7 @@
style="@style/MwmWidget.M3.Button.Secondary"
android:layout_height="wrap_content"
android:layout_width="match_parent"
app:backgroundTint="?colorSurfaceContainerLow"
android:backgroundTint="?colorSurfaceContainerLow"
app:backgroundTint="?windowBackgroundForced"
android:backgroundTint="?windowBackgroundForced"
android:text="@string/placepage_add_place_button" />
</LinearLayout>

View File

@@ -9,7 +9,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_gravity="center_horizontal|top"
android:background="?appBackground"
android:background="?ppBackground"
android:visibility="gone" />
<androidx.core.widget.NestedScrollView
android:id="@+id/placepage"

View File

@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorSurfaceContainerLow"
android:background="?windowBackgroundForced"
android:orientation="vertical">
@@ -13,7 +13,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?appBackground"
android:background="?ppBackground"
android:orientation="vertical">
<androidx.fragment.app.FragmentContainerView

View File

@@ -11,7 +11,7 @@
style="@style/MwmWidget.M3.Button.Secondary"
android:layout_height="wrap_content"
android:layout_width="match_parent"
app:backgroundTint="?colorSurfaceContainerLow"
android:backgroundTint="?colorSurfaceContainerLow"
app:backgroundTint="?windowBackgroundForced"
android:backgroundTint="?windowBackgroundForced"
android:text="@string/edit_place"/>
</LinearLayout>

View File

@@ -9,7 +9,7 @@ android:layout_marginHorizontal="@dimen/margin_base"
android:layout_marginTop="@dimen/margin_half"
app:strokeWidth="1dp"
app:strokeColor="@color/base_accent"
app:cardBackgroundColor="?appBackground">
app:cardBackgroundColor="?cardBackground">
<LinearLayout
android:layout_width="match_parent"

View File

@@ -8,6 +8,6 @@
android:id="@+id/rw__phone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?appBackground"
android:background="?cardBackground"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
</LinearLayout>

View File

@@ -189,7 +189,7 @@
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?appBackground"
android:background="?ppBackground"
android:orientation="horizontal">
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/item_icon"

View File

@@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?appBackground"
android:background="?cardBackground"
android:orientation="vertical">
<View
android:layout_width="match_parent"

View File

@@ -4,7 +4,7 @@
android:id="@+id/pp_buttons_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?colorSurfaceContainerLow"
android:background="?windowBackgroundForced"
android:orientation="horizontal"
android:layout_gravity="bottom">
<include layout="@layout/item_divider" />

View File

@@ -287,13 +287,13 @@
</style>
<style name="MwmWidget.BottomSheetDialog" parent="Widget.Material3.BottomSheet.Modal">
<item name="backgroundTint">?colorSurfaceContainerLow</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">?colorSurfaceContainerLow</item>
<item name="android:background">?appBackground</item>
<item name="behavior_hideable">false</item>
</style>