Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Description
CardView
crashes, when color state list is used for foreground.Component used:
androidx.cardview:cardview:1.0.0
Example
See sample project attached. It will crash on app start, when run on older devices, like API 27 for example.
It will crash, because color state list is used. It works, when drawable state list is used instead.
Stacktrace