您的位置:首页 > 移动开发 > Android开发

android scrollView 内部子布局无法充满屏幕- LinearLayout not expanding inside a ScrollView

2016-10-12 10:35 627 查看
LinearLayout not expanding inside a ScrollView

解决问题链接:

http://stackoverflow.com/questions/2599837/linearlayout-not-expanding-inside-a-scrollview

Found the solution myself in the end. The problem was not with the 
LinearLayout


but with the 
ScrollView
 (seems
weird, considering the fact that the 
ScrollView
 was expanding,
while the 
LinearLayout
 wasn't).

The solution was to use 
android:fillViewport="true"
 on
the 
ScrollView
.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐