码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2014-05-08 13:42:02      阅读:321      评论:0      收藏:0      [点我收藏+]

标签:android   code   strong   c   line   view   

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

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

标签:android   code   strong   c   line   view   

原文地址:http://www.cnblogs.com/zgz345/p/3714003.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!