私はxmlとandroidプログラミングに不慣れです。これが私のxmlコードです...なぜランダムエラーが発生するのかわかりません...私は多くのことを試しました(通常の終了方法で「/>」を変更するなど) 。オンラインのxmlチェッカーも試しましたが、同じエラーが発生したので、助けていただければ幸いです。私はたくさんのエラーを受け取ります、私はあなたにどれがそうであるかを言うべきであることを知っています、しかしそれらはとてもランダムです。多分それはEclipseのバグです...Idk、これを読んでくれてありがとう。
<?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" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Your total is 0"
android:textSize="45dp"
android:layout_gravity="center"
android:gravity="center"
android:id="@id/tvDisplay"
/>
<Button
android:layout_width="250dp"
android:layout_height="wrap_content"
android:text="Add one"
android:layout_gravity="center"
android:textSize="20dp"
android:id="@id/bAdd"
/>
<Button
android:layout_width="250dp"
android:layout_height="wrap_content"
android:text="Subtract one"
android:layout_gravity="center"
android:textSide="20dp"
android:id="@id/bSub"
/>
</LinearLayout>