当我试图将布局的背景放到应用程序刚刚停止并退出(“不幸,xxxx已停止工作”)时,尽管飞溅和主布局可以正常工作,但尽快当我进入一个新的布局例如:S::没有背景的应用程序工作正常与我们联系页)s 这里的代码找不到符合指定名称的资源始终显示
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/ibg" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:src="@drawable/au" />
</LinearLayout>
请显示logcat错误。 – Shadow 2014-11-25 08:30:53
[2014-11-25 10:39:13 - SP] C:\ workspace \ SP \ res \ layout \ au.xml:2:错误:错误:找不到与给定名称匹配的资源(在'background'处值'@ drawable/ibg.gif')。 [2014-11-25 10:39:13 - SP] – 2014-11-25 08:38:14