어제 시작한 초보 입니다. 버튼 만들기를 하고 있는데
텍스트 뷰는 잘되더니
버튼만들고 실행하면
unexpectedly please try again 이라는 경고메시지가 뜨네요..
첨부파일에 오류내용 붙였습니다..봐주세요..ㅠㅠ
package exam.AndroidFirst;
import android.app.*;
import android.os.*;
import android.view.*;
import android.widget.*;
public class AndroidFirst extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.buttonedit);
}
}
buttonedit.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"
>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/btn"
android:text="여기다 입력"
/>
<button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/btn"
android:text="입력완료"
/>
</LinearLayout>



