나는 안드로이드 애플리케이션 프로그래밍에 익숙하지 않다. 기본 레벨에서 나는 그것을 고칠 수 없다. 누구든지 나에게 도움을 줄 수 있다면 배울 수 있을까?내 코드에서 Edittext가 작동하지 않는 이유는 무엇입니까?
main.xml에
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<EditText
android:id="@+id/edit_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_text"
/>
</LinearLayout>
strings.xml의
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, Example3Activity!</string>
<string name="app_name">Example3</string>
<string name="hint_text">Enter your name</string>
</resources>
오류 메시지 : 오류 구문 분석 XML : 어떤 요소는
XML이 게시 된 것과 정확히 일치하는 경우 시작 부분에 '<'권한이 없습니다! –
이 문제가 발생하는 곳> –
프로젝트를 청소 해보십시오. 종종 XML 에러는 이클립스 (eclipse)와 R이 제대로 처리되지 않는 것을 좋아한다. – JoxTraex