Android ScrollView遇到的问题

使用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.

posted @ 2015-07-03 11:51  Assasin哲  阅读(487)  评论(0编辑  收藏  举报