<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="3sp">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<EditText
android:layout_height="wrap_content"
android:text="이름"
android:textSize="20sp"
android:layout_weight="3"
/>
<Button
android:layout_height="wrap_content"
android:text="검색"
android:textSize="20sp"
android:id="@+id/find"
android:layout_weight="1"
/>
</LinearLayout>
<ListView
android:id="@+id/listview"
android:layout_width="match_parent"
android:layout_weight="1" >
</ListView>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="추가"
android:textSize="20sp"
android:id="@+id/add"
android:onClick="mOnClick"
/>
</LinearLayout>
xml 코드가 이런데요
전화번호부를 만들어보려고 하는데 프로젝트 생성하고
hello world나온 상태에서 실행시키면 아무 문제없고
바로 xml만 저렇게 수정하고 실행시키면 예상치못하게 종료되었다고 뜨면서 앱이 종료되네요 ㅠㅠ
그래서 xml에 문제가 있는것 같아 xml만 올립니다.
근데 그래픽 생성도 잘 되고 어디에 오류가있다고 뜨지도 않아서 질문드립니다 ㅠㅠ