Use DynamicColors theme instead on applying themeOverlay afterwards for Material You

This commit is contained in:
Prathamesh More 2022-01-14 12:00:24 +05:30
parent ceb452db25
commit 2e674d4ba2
2 changed files with 3 additions and 9 deletions

View file

@ -1,6 +1,8 @@
<resources>
<style name="Theme.RetroMusic.MD3" parent="@style/Theme.Material3.DayNight.NoActionBar">
<style name="Theme.RetroMusic.MD3" parent="@style/Theme.Material3.DynamicColors.DayNight">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="roundSelector">@drawable/round_selector</item>
<item name="rectSelector">@drawable/rect_selector</item>
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>