We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL of codelab Codelab
In which task and step of the codelab can this issue be found? 7 (Optional) Experiment with other animations - 3
Describe the problem Background color animation does not work I'd expected.
Steps to reproduce?
Versions Android Studio version: Android Studio Giraffe 2022.3.1 Patch 4 API version of the emulator: 34
Additional information Include screenshots if they would be useful in clarifying the problem.
Need to change modifier chain order. This code change
Card(modifier = modifier) { Column( modifier = Modifier .animateContentSize( animationSpec = spring( dampingRatio = Spring.DampingRatioNoBouncy, stiffness = Spring.StiffnessMedium ) ) .background(color = color) // <---- ) { }
to this.
Card(modifier = modifier) { Column( modifier = Modifier .background(color = color) // <---- .animateContentSize( animationSpec = spring( dampingRatio = Spring.DampingRatioNoBouncy, stiffness = Spring.StiffnessMedium ) ) ) { }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
URL of codelab
Codelab
In which task and step of the codelab can this issue be found?
7 (Optional) Experiment with other animations - 3
Describe the problem
Background color animation does not work I'd expected.
Steps to reproduce?
Versions
Android Studio version: Android Studio Giraffe 2022.3.1 Patch 4
API version of the emulator: 34
Additional information
Include screenshots if they would be useful in clarifying the problem.
Suggestion
Need to change modifier chain order.
This code change
to this.
Result
The text was updated successfully, but these errors were encountered: