No orientation specified, and the default is
1、出现这种问题是因为直接布局无法定位其方向性,而在使用<LinearLayout>标签要指明方向
2、只要指定一个orientation(定向,方向,定位)拳婊招稹语句为:android:orientation="vertical"
3、在tab1下回车,
4、并写入语句:android:orientation="vertical"
5、这时仍然提示错误,是因为你没有保存,保存(Ctrl+s)后即能解决:
6、最后分别在tab2与tab3写入语甜入艺阝句:android:orientation = "vertical"
7、最后保存(Ctrl+s)即可:
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:30
阅读量:50
阅读量:88
阅读量:66
阅读量:21