1

我正在尝试为我的 android 项目添加背景。这是代码。

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" 
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:backround="@drawable/awesome_face">

</RelativeLayout>

我拼写的一切都是正确的,但是当我在保存后进入我的图形布局时,什么都没有出现。此外,在我清理项目后,我现在在

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

说“在包'android'中找不到属性背景的资源标识符”有人有想法吗?

4

1 回答 1

0

就像 ChristopheCVB 说的,你的背景标签少了一个 G。

android:backGround="@drawable/awesome_face">
于 2013-04-07T22:35:29.840 回答