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
In which task and step of the codelab can this issue be found?
Add Color - Dimens File
Describe the problem
The example refers to R.id when it should be R.dimens
To add a value from the dimens.xml file, this the correct format:
dimensionResource(id = R.id.add dimension name here ) <-- Should be R.dimen instead of R.id
URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-material-theming?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-material-theming#3
In which task and step of the codelab can this issue be found?
Add Color - Dimens File
Describe the problem
The example refers to R.id when it should be R.dimens
Steps to reproduce?
https://developer.android.com/codelabs/basic-android-kotlin-compose-material-theming?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-material-theming#3
Versions
Android Studio version: N/A
_API version of the emulator:_N/A
Additional information
Include screenshots if they would be useful in clarifying the problem.