You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue is found on the last step of "4 "Add Color": Color mapping": "Take a look at WoofPreview(). The list items have now automatically changed color..."
The problem
"Card" composables on preview (and even when running the app on a device) do not use the colors from "Color.kt" file.
I have even tried to change the colors in "Colors.kt" but it doesn't help.
As i understand, a "Card" by default takes "Background" color from scheme, but no, it doesn't work.
Even if I switch to the "material" branch, which is the codelab solution - still the colors don't look like the ones from "Colors.kt"
Neither they resemble colors, which can be found on the screenshots in "Material Theming" pathway.
Please help!
Steps to reproduce?
Just follow the instructions of the pathway in step 4 "Add Color".
Versions Android Studio version: 2024.2.1 Patch 3 API version of the emulator: Android 10
This is how it looks in my case:
This is how it should look:
The text was updated successfully, but these errors were encountered:
URL of codelab
Issue is found on the last step of "4 "Add Color": Color mapping": "Take a look at WoofPreview(). The list items have now automatically changed color..."
The problem
"Card" composables on preview (and even when running the app on a device) do not use the colors from "Color.kt" file.
I have even tried to change the colors in "Colors.kt" but it doesn't help.
As i understand, a "Card" by default takes "Background" color from scheme, but no, it doesn't work.
Even if I switch to the "material" branch, which is the codelab solution - still the colors don't look like the ones from "Colors.kt"
Neither they resemble colors, which can be found on the screenshots in "Material Theming" pathway.
Please help!
Steps to reproduce?
Versions
Android Studio version: 2024.2.1 Patch 3
API version of the emulator: Android 10
This is how it looks in my case:
This is how it should look:
The text was updated successfully, but these errors were encountered: