更新时间:2023-10-01 23:36:04
android:layout_height="wrap_content" app:layout_constraintHeight_max="300dp" app:layout_constrainedHeight="true"
请确保设置高度wrap_content
be sure to set the height wrap_content
ConstraintLayout不遵守最大高度