tankistorep
04/04/2023, 4:22 PMtankistorep
04/04/2023, 4:22 PMtankistorep
04/04/2023, 4:22 PMtankistorep
04/04/2023, 4:22 PM@Composable
fun TestScreen() {
Column(
modifier = Modifier
.background(Color.White)
.fillMaxSize()
) {
Spacer(
modifier = Modifier
.fillMaxWidth()
.height(20.dp)
.background(color = Color.Black)
)
Spacer(
modifier = Modifier
.fillMaxWidth()
.height(20.dp)
.background(color = Color.Black)
)
}
}
@Preview
@Composable
fun TestScreenPreview() {
TestScreen()
}
Simple code to recreatetankistorep
04/04/2023, 4:24 PMephemient
04/04/2023, 4:26 PM20.dp
is not an integer number of pixelsephemient
04/04/2023, 4:26 PMtankistorep
04/04/2023, 4:31 PMtankistorep
04/04/2023, 4:32 PM