In which task and step of the codelab can this issue be found?
6 Add a switch - 2. implement the RoundTheTipRow()....
Describe the problem
We set the .fillMaxWidth() at modifier, then set the modifier size to 48.dp, size contain both width and height, but we already define width with .fillMaxWidth(). We just need to set height.
So we need change .size(48.dp) to .height(48.dp)
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 Codelab
In which task and step of the codelab can this issue be found? 6 Add a switch - 2. implement the RoundTheTipRow()....
Describe the problem We set the .fillMaxWidth() at modifier, then set the modifier size to 48.dp, size contain both width and height, but we already define width with .fillMaxWidth(). We just need to set height.
So we need change .size(48.dp) to .height(48.dp)
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.