material-components/material-components-android-codelabs

Material shape element lost shadow when shape color has alpha like (#F0FFFFFF)

Jerry805 opened this issue · 1 comments

Material shape element lost shadow when shape color has alpha like (#F0FFFFFF)

Android studio 3.3
Material 1.1.0-alpha02
Kotlin

Steps to reproduce the behavior:

  1. create a material card view in layout
  2. create a shape. like round. set the shape color with alpha not ff
  3. set background of the card view in MainActivity.kt
  4. run app and would see that shadow disappears. when set shape color without alpha, shadow displays as expected.

Thanks for reporting this issue. This sounds like a bug in the MDC Android library; could you please file an issue at https://issuetracker.google.com/issues/new?component=439535 so that we can take a look?