Android AAPT problem 问题
在配置xml时,遇上一个很无语的毛病,
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_content"
android:layout_height="wrap_content"
android:backgroud="@drawable/blue" android:padding="10dip">
<TextView android:id="@+id/lable" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="请输入姓名"/>
<!--
这个edit-text放在上边id为label的TextView的下边
-->
<EditText android:id="@+id/entry" android:layout_width="fill_parent" android:layout_height="wrap_content"
android:backgroud="@android:drawable/editbox_backgroud"
android:layout_below="@id/label"/>
<!--
取消按钮和容器的右边齐平,并且设置左边的边距为10dip
-->
<Button android:id="@+id/cancel" android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/entry"
android:layout_alignParentRight="true"
android:layout_marginLeft="10dip" android:text="取消"
/>
<!--
确定按钮在取消按钮左侧,并且和取消按钮的高度齐平。
-->
<Button android:id="@+id/ok" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/cancel" android:layout_alignTop="@id/cancel"
android:text="确定"/>
</RelativeLayout>
怎么在<RelativeLayout 处出现一个问题,说是,
error: No resource identifier found for attribute 'backgroud' in package 'android'
- error: Error: No resource found that matches the given name (at 'backgroud' with value
'@drawable/blue').
- error: Error: String types not allowed (at 'layout_width' with value 'fill_content').
啊?本人是个菜鸟,对于此也不知道该怎么处理,希望各位大侠帮忙一个。