Lucien Guimaraes
02/26/2021, 4:11 PMelevation = 0.dp
the background is correctly applied. If the elevation is by default, the background color is different (more bright). Is this an intended behaviour or a bug with beta01 ? Also it's only with the black color from Compose (Color.Black
), I tried with other colors and it's working fine 🤷elevation = 0dp
AppBarDefaults.TopAppBarElevation
Albert Chang
02/26/2021, 4:19 PMThe higher a surface's elevation (raising it closer to an implied light source), the lighter that surface becomes. That lightness is expressed through the application of a semi-transparent overlay using the On Surface color.
Lucien Guimaraes
02/26/2021, 4:20 PMAndrey Kulikov
02/26/2021, 4:21 PMLucien Guimaraes
02/26/2021, 4:24 PM