Open StewMcc opened 1 year ago
URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-woof-animation
In which task and step of the codelab can this issue be found? (Optional) Experiment with other animations
Describe the problem
Setting .background(color = color) on the Column, results in flickering of the "Card" color on open and close.
.background(color = color)
Steps to reproduce?
Versions Android Studio version: 2022.3.1 API version of the emulator: 34
Additional information Include screenshots if they would be useful in clarifying the problem.
Using the below instead, to modify the card containerColor instead results in no flickering, and consistent behaviour.
Card( modifier = modifier, colors = CardDefaults.cardColors( containerColor = color, ), )
URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-woof-animation
In which task and step of the codelab can this issue be found? (Optional) Experiment with other animations
Describe the problem
Setting
.background(color = color)
on the Column, results in flickering of the "Card" color on open and close.Steps to reproduce?
Versions Android Studio version: 2022.3.1 API version of the emulator: 34
Additional information Include screenshots if they would be useful in clarifying the problem.
Using the below instead, to modify the card containerColor instead results in no flickering, and consistent behaviour.