No orientation specified, and the default is horizontal. This is a common source of bugs

来源:互联网 发布:网络教育本科毕业证 编辑:程序博客网 时间:2024/05/17 23:43
在eclipse中有时会出现这种错误提示,主要是因为 linearlayout中没有指定orientation属性,这种情况可能出现在一个xml文件中包含多种布局时没有指定orientation.解决方法在Linearlayout中添加属性orientation
0 0