From 2aa8c50058b6542e11cdcc71276e6fb57f252a6a Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Fri, 11 Oct 2024 15:27:59 -0400 Subject: [PATCH] Fix popup theme The xml style was overriding the dynamic theme that's applied in the Application class. This resulted in the popup appearing with the stock Material3 purple-tinted background on Android 12 or greater where it should follow the user-set color. --- app/src/main/res/layout/main_activity.xml | 1 - app/src/main/res/values/themes.xml | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/src/main/res/layout/main_activity.xml b/app/src/main/res/layout/main_activity.xml index 4155dafa0..d93ea6e72 100644 --- a/app/src/main/res/layout/main_activity.xml +++ b/app/src/main/res/layout/main_activity.xml @@ -14,7 +14,6 @@ android:layout_height="wrap_content" app:elevation="4dp" android:orientation="vertical" - app:popupTheme="@style/Theme.Apps.PopUpOverlay" tools:menu="@menu/main_screen_menu" /> @android:color/transparent true - -