「私がしましたのLinearLayout問題(同じXMLで2 LLayout)
...私は、Androidアプリをdesingingための新しいXMLのフィルスをコーディングしていると私は同じXMLに2 linearLayourを使用して、いくつかの問題をしましたエラーがXMLファイルに次のコードで「ビルド中止:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView android:id="@+id/texte_firsttab"
android:layout_height="wrap_content"
android:layout_width="wrap_content"/>
</LinearLayout>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<Button android:id="@+id/accessGraphe"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="test"
android:onClick="selfDestruct" />
<Button android:id="@+id/accessGraphe2"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="test2"
android:onClick="selfDestruct" />
</LinearLayout>
私たちは、同じXMLファイルに2つの線形レイアウトを置くことはできますか?
完璧、私は他の線形レイアウトに入れました;-) ありがとう!今、なぜボタンが見せたくないのか理解してくれます^^ – clement