From 13fbe72b55b7d93fd52048a356aede255fc0cd30 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Date: Sun, 11 Jan 2026 17:48:09 +0100 Subject: [PATCH] [android] Fix missing elevation on custom dialogs Signed-off-by: Jean-Baptiste --- .../app/src/main/res/layout-land/dialog_stacked_buttons.xml | 5 +++-- .../main/res/layout/choose_bookmark_category_fragment.xml | 5 +++-- android/app/src/main/res/layout/dialog_sorting_types.xml | 5 +++-- android/app/src/main/res/layout/dialog_stacked_buttons.xml | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/android/app/src/main/res/layout-land/dialog_stacked_buttons.xml b/android/app/src/main/res/layout-land/dialog_stacked_buttons.xml index b430aff55..d1125aace 100644 --- a/android/app/src/main/res/layout-land/dialog_stacked_buttons.xml +++ b/android/app/src/main/res/layout-land/dialog_stacked_buttons.xml @@ -3,12 +3,13 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" - style="@style/Widget.Material3.CardView.Filled" + style="@style/Widget.Material3.CardView.Elevated" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/margin_half" app:cardBackgroundColor="?attr/colorSurfaceContainerHigh" - app:cardCornerRadius="28dp"> + app:cardCornerRadius="28dp" + app:cardElevation="@dimen/m3_sys_elevation_level3"> + app:cardCornerRadius="28dp" + app:cardElevation="@dimen/m3_sys_elevation_level3"> + app:cardCornerRadius="28dp" + app:cardElevation="@dimen/m3_sys_elevation_level3"> + app:cardCornerRadius="28dp" + app:cardElevation="@dimen/m3_sys_elevation_level3">