Bad XML block :header size 2370 or total size 0 is larger than data size 0

前端之家收集整理的这篇文章主要介绍了Bad XML block :header size 2370 or total size 0 is larger than data size 0前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

出现1:当在视频教学中的计算两数积时,运行activity03时,出现错误

原因1:layout中的布局文件***.xml采用了RelativeLayout的相对布局,那么源代码中的TextView,Button,EditText堆积在一起溢出,出错。

解决:采用线型布局,LinearLayout,并采用垂直线型布局,android:orientation=”vertical”

原文链接:https://www.f2er.com/xml/300263.html

猜你在找的XML相关文章