0
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText android:id="@+id/edit_message"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/edit_message" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_send" />
</LinearLayout>
<resources>
<string name="app_name">becreativebuddy</string>
</resources>
20 번 중 18 번 줄에 오류가 발생했습니다. 나는 매우 새로운 단어이기 때문에 자습서 단어를 따르고 있습니다. 나는 현지화 습관에 빠지기를 원하지만 실망 스럽다. 왜냐하면 나는 그것을 컴파일하지 않고 잘 실행되기 때문에 실망 스럽다. 간단한 오류 일 뿐인데 죄송합니다. 온라인에서 도움이되는 정보를 찾지 못했습니다. 전에 언급했듯이 나는 이것에 익숙하지 않으므로 간단하게 유지하려고 노력한다.루트 요소 뒤에 오는 문서의 마크 업은 올바른 형식이어야합니다. 이것의 원인은 무엇입니까?
레이아웃 파일에 문자열 리소스를 추가했습니다. –
레이아웃에 리소스 태그를 넣지 않겠다고 "내기"했습니다. 그게 네 문제 야. 다시 읽으십시오. – Simon