material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

Version 1.11.0 Android studio layout preview broken

Open badayumut opened this issue 1 year ago • 0 comments

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: Bug "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

badayumut avatar Dec 17 '23 15:12 badayumut