Question from the Android test

How to draw a red square with a blue square inside in Android?

Hard

What UI does this Composable made with Jetpack Compose correspond to?

@Composable
fun Question2(){
    Surface {
        Box(
            modifier = Modifier
                .border(1.dp, Color.Red)
                .padding(8.dp)
                .size(32.dp)
                .border(1.dp, Color.Blue)
        )
    }
}
Author: Fanny DemeyStatus: PublishedQuestion passed 45 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!