alorma
02/26/2021, 9:59 AMbackgroundColor = MaterialTheme.colors.primary.copy(alpha = 0.12f).compositeOverSurface()
That is supposed to do a dim version of primary color... but it shows plain primaryVivek Sharma
02/26/2021, 12:23 PMcompositeOverSurface for ? can you try removing it and tryalorma
02/26/2021, 12:30 PMcompositeOverSurface puts one color "over" surface, so if the color has alpha, it will draw a solid version, but provided by surface...alorma
02/26/2021, 12:30 PMVivek Sharma
02/26/2021, 12:58 PMMaterialTheme.colors.primary.compositeOverSurface().copy(alpha = 0.12f)
check if this works for you