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 #44

Open ryan-matthew-smith opened 1 year ago

ryan-matthew-smith 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#5

In which task and step of the codelab can this issue be found? Task 6 "Add Typography" Step "Initialize Fonts"

Describe the problem The instructions do not make it clear that there are additional import statements to be added to the Type.kt file and the IDE does not seem to automatically suggest importing them. This was confusing for me and I could see it being so for others as well.

The code sample shows the imports below, but does not explicitly tell you to copy and paste them. "​​import androidx.compose.ui.text.font.Font import androidx.compose.ui.text.font.FontFamily import com.example.woof.R"

Steps to reproduce? N/A

Versions Android Studio version: API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.