私は、タブレイアウト内に相対レイアウトを統合するXMLファイルを作成しようとしています。 XMLファイルの問題
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp" />
<RelativeLayout
android:id="@+id/simpleMode
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
</RelativeLayout>
</LinearLayout>
</TabHost>
私はエラーを多数受けていると私は私の問題が何であるかを見つけるように見えることはできません:ここに私のコードです 私のエラーは、相対レイアウト>または/> と が続かなければなりませんですアンドロイドで指定された名前と一致していませんリコース:ID =「@ + ID/simpleMode
すべてのヘルプはどうもありがとうございました!!
が
うわー、それは本当にばかなエラーだった..私はそれが私の+ IDタグや何かをしなければならなかったと思いました。ありがとうございました – YoKaGe