首页 > 其他 > 详细

My Code Review

时间:2017-03-24 19:56:44      阅读:262      评论:0      收藏:0      [点我收藏+]

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
(错误标志在这里,
Multiple annotations found at this line:
- This LinearLayout layout or its RelativeLayout parent is useless
- error: Error parsing XML: not well-formed (invalid token)
- Element type "RelativeLayout" must be followed by either attribute specifications, ">" 
or "/>".这个错误怎么回事?
)<LinearLayout

android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<EditText 
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/> 
<LinearLayout

android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="right">
<Button 
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Yes"
/>
<Button 
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="No"
/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>

把相对布局删掉

My Code Review

原文:http://www.cnblogs.com/yuhouwuqiong/p/6613105.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!