似乎不支持一个水平滚动嵌套垂直滚动(或垂直滚动中嵌套水平滚动),所以相应布局需要合理设计
此外,提及下,如果想使用像ListView或RecyclerView那样的列表组件,在Compose中可以使用LazyRow...或LazyColumn,这部分内容之后会讲解到,敬请期待
verticalAlignmentment
取值有三个值:
Alignment.CenterVertically 居中
Alignment.Top...= null,
elevation: Dp = 1.dp,
content: @Composable () -> Unit
)
shape 形状,使用详见Jetpack Compose学习...(3)——图标(Icon) 按钮(Button) 输入框(TextField) 的使用 | Stars-One的杂货小窝
backgroundColor 背景色
contentColor 内容的背景色...border 边框,使用详见Jetpack Compose学习(3)——图标(Icon) 按钮(Button) 输入框(TextField) 的使用 | Stars-One的杂货小窝
elevation