首页 > 移动平台 > 详细

Android ScrollView遇到的问题

时间:2015-07-03 13:43:24      阅读:291      评论:0      收藏:0      [点我收藏+]

使用scrollview后,alignParentBottom不起效,布局不能完全拉伸,match_parent无效

设置scrollView的fillViewPort属性为true

Romain Guy write a little info about a ScrollView attribute that is missing  from documentation :android:fillViewport=”true” .

It must be set to ScrollView and has the following efect : when set to true, this attribute causes the scroll view’s child to expand to the height of the ScrollView if needed. When the child is taller than the ScrollView, the attribute has no effect.

Android ScrollView遇到的问题

原文:http://www.cnblogs.com/gyzboy/p/4618233.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!