[android] Fix background color of edit buttons on Android 5

Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2025-11-11 20:32:25 +01:00
committed by jeanbaptisteC
parent b8e77a0404
commit 20a688505a
2 changed files with 6 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/ll__place_add" android:id="@+id/ll__place_add"
style="@style/PlacePageItemFrame" style="@style/PlacePageItemFrame"
tools:visibility="visible"> tools:visibility="visible">
@@ -11,5 +12,7 @@
style="@style/MwmWidget.M3.Button.Secondary" style="@style/MwmWidget.M3.Button.Secondary"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
app:backgroundTint="?windowBackgroundForced"
android:backgroundTint="?windowBackgroundForced"
android:text="@string/placepage_add_place_button" /> android:text="@string/placepage_add_place_button" />
</LinearLayout> </LinearLayout>

View File

@@ -2,6 +2,7 @@
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/ll__place_editor" android:id="@+id/ll__place_editor"
style="@style/PlacePageItemFrame" style="@style/PlacePageItemFrame"
tools:visibility="visible"> tools:visibility="visible">
@@ -10,5 +11,7 @@
style="@style/MwmWidget.M3.Button.Secondary" style="@style/MwmWidget.M3.Button.Secondary"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
app:backgroundTint="?windowBackgroundForced"
android:backgroundTint="?windowBackgroundForced"
android:text="@string/edit_place"/> android:text="@string/edit_place"/>
</LinearLayout> </LinearLayout>