<?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"
>
<TextView
android:id="@+id/labe1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Type here:"/>
<EditText
android:id="@+id/label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@android:drawable/editbox_background"
android:layout_below="@id/label"/>
<Button
android:id="@+id/ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/entry"
android:layout_alignParentRight="true"
android:layout_marginLeft="10dip"
android:text="ok" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftof="@id/ok"
android:layout_alignTop="@id/ok"
android:text="Cancel" />
</LinearLayout>
===========
error: Error parsing XML: not well-formed (invalid token)
Element type "EditText" must be followed by either attribute specifications, ">" or "/>".
무슨말인지 모르겠네요.
오류부분에 확인해보니 폴더가없길래 drawable 폴더를 생성해줬는데,
이미지가 안에 없어서 일어나는 일인지 그도 아니면.. 뭘까요.
말 그대로 에디트텍스트탭에 타이핑을 잘못한게 있다는 뜻입니다.
글을 잘 읽고, 오류로 찍힌 라인을 잘 찾아보면 찾으실 수 있을거예요. 워낙 버그는 . , " ' ` | ㅣ : ; 이런거에서 납니다.