res.layout에 input이라는 xml하나를 생성하고 거기에
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/input" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:id="@+id/label" android:text="name" /> <EditText//Multiple annotations found at this line: android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightof="@id/label" android:layout_alignParentBaseline="@id/label" android:id="@+id/edit" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/edit" android:layout_alignRight="@id/edit" android:id="@+id/Okbt" android:text="OK" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/edit" android:layout_toLeftOf="@id/Okbt" android:id="@+id/Canbt" android:text="CANCLE" /> </RelativeLayout> 라고 코딩을 햇지요 근데 빨강글씨와 같은 오류가 뜨네요 클린과 리푸팅해봐도 소용 없었습니다.
저 메세지는 두 가지 이상의 오류가 있다는 뜻입니다.
살펴보니 @id/label 로 참조하고 계신데
@+id/label 로 수정하셔야 겠네요
밑에 부분들도 @id로 쓰신 부분들 수정하셔야 하고요