Finish the SymmetricPadding composable function to accomplish this:
Spacer and Padding
Symmetric padding
Report a typo
Fill in the gaps with the relevant elements
@Composable
fun SymmetricPadding() {
Column(
modifier = Modifier
.padding( = 32.dp)
.size(16.dp)
.background(Color.Yellow)
) { /*...*/ }
Column(
modifier = Modifier
.padding( = 32.dp, = 24.dp)
.size(16.dp)
.background(Color.Red)
) { /*...*/ }
} ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.