ScrollView中的组件设置android:layout_height=fill_parent不起作用的解决办法

ScrollView中的组件设置android:layout_height=fill_parent不起作用的解决办法
摘自IT者安全网(www.itzhe.org)

原文:http://www.itzhe.org/system/others/201208/94428.html

ScrollView里面放了FrameLayout, 现在发现FrameLayout高度无法FILL。

这个是由于ScrollView高度FILL 失败的问题,

设置了属性:

ScrollView设置了属性,

android:fillViewport="true"

就能解决问题了。

扫描二维码关注公众号,回复: 787631 查看本文章

猜你喜欢

转载自justwyy.iteye.com/blog/1668675
今日推荐