In which task and step of the codelab can this issue be found?
Step6 Number8
Describe the problem
Switch(
modifier = modifier
.fillMaxWidth()
.wrapContentWidth(Alignment.End),
//...
)
The code in the github is correct,but the code above has a clerical error and it should be like this:
Switch(
modifier = Modifier
.fillMaxWidth()
.wrapContentWidth(Alignment.End),
//...
)
Steps to reproduce?
Go to...
Click on...
See error...
VersionsAndroid Studio version:API version of the emulator:
Additional informationInclude screenshots if they would be useful in clarifying the problem.
URL of codelab https://developer.android.google.cn/codelabs/basic-android-kotlin-compose-calculate-tip?continue=https%3A%2F%2Fdeveloper.android.google.cn%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%3Fhl%3Dzh-cn#5
In which task and step of the codelab can this issue be found? Step6 Number8
Describe the problem Switch( modifier = modifier .fillMaxWidth() .wrapContentWidth(Alignment.End), //... ) The code in the github is correct,but the code above has a clerical error and it should be like this: Switch( modifier = Modifier .fillMaxWidth() .wrapContentWidth(Alignment.End), //... )
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.