Android 安卓bg prob
我正在尝试为我的android项目添加背景。这是密码Android 安卓bg prob,android,xml,Android,Xml,我正在尝试为我的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="@draw
<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"
正如ChristopherCVB所说,您的背景标签缺少一个G
android:backGround="@drawable/awesome_face">
布局定义中带有“g”的背景。RelativeLayout没有属性“orientation”。注意,大写是为了强调(我假设),在清单中g应该是小写的。哇,我是个白痴。我还在逐渐习惯英语。我的母语是瑞典语