【发布时间】:2015-04-20 11:15:40
【问题描述】:
当 LinearLayout 的内容不够高时,有没有办法让带有 android:fillViewport="true" 的 ScrollView 和子 LinearLayout 填充所有视图?
到目前为止,在 ScrollView 内的 LinearLayout 中,我们必须使用 android:layout_height="wrap_content"。我们可以添加其他东西来填充所有 ScrollView 吗?
【问题讨论】:
-
在布局高度中使用 match_parent
标签: android scrollview android-linearlayout