google-developer-training / basic-android-kotlin-compose-training-woof

Apache License 2.0
55 stars 87 forks source link

Material Theming: Android Basics with Compose #55

Open HarshNarayanJha opened 1 year ago

HarshNarayanJha commented 1 year ago

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?

  1. Add Color - Section Dimens File

Describe the problem To add a value from the dimens.xml file, the image is saying to use R.id.dimen_name_here, but the text and code example uses R.dimen.padding_small. The image is wrong and needs to be replaced.

This is minor, though the code tags of dimensionResource(id = R.dimen.padding_small) are broken and can be rectified into a single code tag

Steps to reproduce?

  1. Go to the linked codelab
  2. Click on 4 Add Color
  3. Scroll to Dimens File section
  4. Observe the image for the error

Versions Android Studio version: N/A API version of the emulator: N/A

Additional information

image