ウィジェットを関連付けようとしているので、次のようにコードを記述します。
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="90dp"
android:background="@drawable/ad1"
android:orientation="horizontal" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/ad1"
android:orientation="horizontal"
android:layout_toStartOf="@id/bt_menu" > // here there is error !!!!
<EditText
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:hint="Menu "
android:inputType="textVisiblePassword"/>
</RelativeLayout>
<ImageButton
android:id="@+id/bt_menu"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:background="@android:color/transparent"
android:scaleType="fitCenter"
android:src="@drawable/menu5"
android:onClick="menu_onclick"/>
</RelativeLayout>
この行にエラーがあります:
android:layout_toStartOf="@id/bt_menu"
エラー: 指定された名前に一致するリソースが見つかりません (「layout_toStartOf」で値「@id/bt_menu」)
誰か助けてください!!!!
よろしくお願いします..ファデル。