Skip to content
New issue

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

Simple Animation with Jetpack Compose - (Optional) #101

Open
Akronix opened this issue Aug 7, 2024 · 1 comment
Open

Simple Animation with Jetpack Compose - (Optional) #101

Akronix opened this issue Aug 7, 2024 · 1 comment

Comments

@Akronix
Copy link

Akronix commented Aug 7, 2024

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?
step 7: Optional: Experiment with other animations

Describe the problem
I followed all the instructions of the step 7 to create an animation with color change.
If I run the app in the in the Android emulator, I can see the animation.
However, I can't experiment the animation in the AppPreview.

Steps to reproduce?
Copy code from step 7 and open the preview. When expanding cards, the background color should change, but it does not.
Try running the emulator and verify it does change there.

Versions
Android Studio version:
Android Studio Koala | 2024.1.1 Patch 1
Build #AI-241.18034.62.2411.12071903, built on July 10, 2024
Runtime version: 17.0.11+0-17.0.11b1207.24-11852314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.8.0-39-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 4
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.intellij.plugins.gnomekeymap (213.4250.391)
Current Desktop: Unity:Unity7:ubuntu

API version of the emulator:
API level: 35-ext13

Additional information
Same code:

Preview:

image

Emulator:

image

@aHardReset
Copy link

Same issue here, the color change only when running the app in the emulator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants