ScrollView不能包含多个子项,ScrollView can host only one direct child
?
发现ScrollView中有两个TextView子项。
?
解决办法:
在ScrollView 中设LinearLayout为子项 ,将其它View放入LinearLayout。
?PS。在编辑layout xml时应注意“Error Log”窗口与layout xml编辑窗口的“Graphical Layout”选项卡。
?
发布时间: 2012-07-01 13:15:00 作者: rapoo
ScrollView不能包含多个子项,ScrollView can host only one direct child
?
发现ScrollView中有两个TextView子项。
?
解决办法:
在ScrollView 中设LinearLayout为子项 ,将其它View放入LinearLayout。
?PS。在编辑layout xml时应注意“Error Log”窗口与layout xml编辑窗口的“Graphical Layout”选项卡。
?