Android Scrollview 内部组件android:layout_height="fill_parent"无效的解决办法

时间:2014-05-08 13:42:02   收藏:0   阅读:321

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.

Android Scrollview 内部组件android:layout_height="fill_parent"无效的解决办法,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!