material-components-android
material-components-android copied to clipboard
Version 1.11.0 Android studio layout preview broken
Description: Version 1.11.0 of Material 3 library breaks Android studio layout preview with apps which using the theme: "Theme.Material3.DynamicColors.DayNight" Which worked fine with previous versions.
Expected behavior:
"Theme.Material3.DayNight" still works but i prefer "Theme.Material3.DynamicColors.DayNight" as it gives more contrast color scheme
Render Problem: Getting Render Problem errors while using "Theme.Material3.DynamicColors.DayNight" such as: java.lang.NumberFormatException: Color value '@android:color/system_primary_dark' has wrong size. Format is either#AARRGGBB, #RRGGBB, #RGB, or #ARGB
java.lang.NumberFormatException: Color value '@android:color/system_primary_light' has wrong size. Format is either#AARRGGBB, #RRGGBB, #RGB, or #ARGB
Android API version: Android API version here 34 Material Library version: Material Android Library version you are using here (e.g., 1.1.0-alpha07) Version 1.11.0