【发布时间】:2012-03-28 12:01:19
【问题描述】:
您好,我一直收到此错误 它是第 9 行 xml 处的 android.view.InflateException
这是我的 xml:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<com.SpaceShot.single android:id="@+id/single1"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</com.SpaceShot.single>
<ListView android:id="@+id/highScores"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</ListView>
</FrameLayout>
【问题讨论】:
-
com.SpaceShot.single 的超类是什么?根据具体情况,您需要为适当的公共构造函数提供膨胀逻辑所需的参数
标签: android