2
我的应用程序崩溃时,我把这个代码中的背景线。当我删除这一行时,我的应用程序工作正常,而且当我使用另一张照片时,它也可以正常工作有什么问题?背景图像崩溃android
<?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"
android:background="@drawable/table2" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button" />
</LinearLayout>
主屏幕的背景也正常工作。但在第二页中,这是一个很有说服力的问题。
在你的drawable文件夹中是否有文件table2? – Gridtestmail
把你的日志猫错误 –
你是什么意思'崩溃',请显示日志猫 – wtsang02