【发布时间】:2014-06-13 01:27:06
【问题描述】:
我是 android SDK 新手,遇到这两个错误,请帮助! - 文档中根元素之后的标记必须格式正确 - 解析 XML 时出错:格式不正确
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
</LinearLayout><shape xmlns:android="http://schemas.android.com/apk/res/android" >
<gradient
android:layout_width="match_parent"
android:angle="270"
android:centerColor="#4ccbff"
android:endColor="#24b2eb"
android:startColor="#24b2eb" />
<corners
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:radius="5dp" />
</shape><LinearLayout>
</LinearLayout>
【问题讨论】:
-
如果有用,别忘了接受答案:P