プロジェクトをクリーンアップしてビルドすると、Eclipse コンソールでエラーが発生します。そしてもう一つR.java in not be created it show error on R
。
エラーは次のようなものです
W/ResourceType( 7964): Bad XML block: header size 85 or total size 5529592 is larger than data size 0
.
なぜこれが起こったのですか?
これら2つのxmlを使用しています
itemlist.xml
<TextView
android:id="@+id/txtNewsSource"
android:layout_width="110dp"
android:layout_height="110dp"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
android:layout_centerVertical="true"
android:layout_margin="5dp"
android:background="#64CBD8" />
そして2番目のmain.xml
<com.krish.horizontalscrollview.CenterLockHorizontalScrollview
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
</LinearLayout>
</com.krish.horizontalscrollview.CenterLockHorizontalScrollview>
<LinearLayout
android:id="@+id/bottomLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/scrollView"
android:orientation="horizontal"
android:weightSum="2" >
<Button
android:id="@+id/btnPrev"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Prev" />
<Button
android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Next" />
</LinearLayout>
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/bottomLayout"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"
android:textColor="#FF0000"
android:padding="@dimen/padding_medium" />