我只是导出软件包,使转盘到我的项目在XML文件中:运行时,它给错误Android的旋转视图
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ListView
android:id="@+android:id/list1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"></ListView>
<LinearLayout
android:layout_weight="1"
android:padding="5dip"
android:gravity="top"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<com.me.controls.Carousel
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/carousel"
pj:UseReflection="true"
pj:Items="@array/entries"
pj:SelectedItem="0"
android:animationDuration="200"
/>
</LinearLayout>
</LinearLayout>
:错误XML解析:绑定前缀。 但我不知道原因请任何帮助?
试着写出“android:orientation =”vertical“”这行也是为你的listView里面的linearLayout .. – yahya 2012-08-16 09:54:27
刚刚意识到,因为我知道你不应该用android:layout_width =“fill_parent” layout_weight =“1”..如果你需要使用体重,请尝试设置android:layout_width =“0px”。 – yahya 2012-08-16 09:56:12
我的问题不在listView中te列表工作良好错误发生在
loleana
2012-08-16 10:06:47