@Composable
fun Header(){
val shape = RoundedCornerShape(
topStart = 4.dp,
topEnd = 4.dp,
bottomStart = 0.dp,
bottomEnd = 0.dp
)
Surface(modifier = Modifier.background(Color(0x00333333))
.width(1600.dp.px())
.height(56.dp.px()
),
color = Color(0x0d333333),
shape = shape
) {
Row {
}
}
}
Compose 圆角矩形
最新推荐文章于 2024-10-04 11:47:50 发布