Added new theme for Material You on API 31

This commit is contained in:
Prathamesh More 2021-09-26 17:08:22 +05:30
parent f23b102e41
commit fb603bc0c5

View file

@ -1,8 +1,15 @@
<resources> <resources>
<style name="Theme.RetroMusic.MD3" parent="@style/Theme.Material3.DayNight.NoActionBar" > <style name="Theme.RetroMusic.MD3" parent="@style/Theme.Material3.DayNight.NoActionBar">
<item name="roundSelector">@drawable/round_selector</item>
<item name="rectSelector">@drawable/rect_selector</item> <item name="rectSelector">@drawable/rect_selector</item>
<item name="toolbarPopupTheme">@style/ThemeOverlay.AppCompat.DayNight</item>
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
<item name="materialButtonStyle">@style/MaterialButtonTheme</item>
<item name="popupWindowStyle">@style/MaterialPopupMenuStyle</item>
<item name="popupMenuStyle">@style/MaterialPopupMenuStyle</item>
<item name="android:statusBarColor">@color/transparent</item>
<item name="android:navigationBarColor">@color/transparent</item>
</style> </style>
<style name="BottomSheetStyle" parent="Widget.MaterialComponents.BottomSheet"> <style name="BottomSheetStyle" parent="Widget.MaterialComponents.BottomSheet">
<item name="android:maxWidth">@empty</item> <item name="android:maxWidth">@empty</item>
</style> </style>