(错误标志在这里,
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 "/>". 这个错误怎么回事?
)
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="right">
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Yes"
/>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="No"
/>
- 把相对布局删掉
来源: http://www.bubuko.com/infodetail-1994869.html