안드로이드 개발 질문/답변
(글 수 45,052)
before의 상태에서 제가 저 일반적인 버튼을
<Imagebutton의 android:background="@drawable/%#$^$%" (절대 진짜 파일명은 특문 아님 -_-;;)
을 이용해서 after처럼 꾸미고나서 빌드를 누르는데
자체적인 에러는 나지 않지만 어플을 돌리고 books라는 메뉴를 클릭하는순간 저렇게 오류가 뜨네요...
DDMS를 봐서는 도데체 뭐가 뭔지 모르겠구요...
일단은 저 XML의 소스코드를 첨부하겠습니닷...제가 너무 질문글을 많이올려서 답변을 해주시지 않나봐요 ㅠㅠ.. 죄송합니다
<Imagebutton의 android:background="@drawable/%#$^$%" (절대 진짜 파일명은 특문 아님 -_-;;)
을 이용해서 after처럼 꾸미고나서 빌드를 누르는데
자체적인 에러는 나지 않지만 어플을 돌리고 books라는 메뉴를 클릭하는순간 저렇게 오류가 뜨네요...
DDMS를 봐서는 도데체 뭐가 뭔지 모르겠구요...
일단은 저 XML의 소스코드를 첨부하겠습니닷...제가 너무 질문글을 많이올려서 답변을 해주시지 않나봐요 ㅠㅠ.. 죄송합니다
C:\Users\Jong\Desktop\inturn\BookMarkRoid\res\layout\booklist
<?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" > <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <ImageButton android:id="@+id/all" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/books_unselect_all" android:layout_weight="1"/> <ImageButton android:id="@+id/reading" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/books_unselect_reading" android:layout_weight="1"/> <ImageButton android:id="@+id/read" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/books_unselect_read" android:layout_weight="1"/> <ImageButton android:id="@+id/toread" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/books_unselect_toread" android:layout_weight="1"/> <ImageButton android:id="@+id/add" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/books_add" android:layout_weight="1"/> </LinearLayout>
C:\Users\Jong\Desktop\inturn\BookMarkRoid\res\layout\booklist
<LinearLayout android:layout_height="wrap_content" android:orientation="horizontal" android:layout_width="fill_parent"> <EditText android:layout_height="wrap_content" android:id="@+id/inputText" android:layout_width="0dp" android:layout_weight="5" android:hint="추가할 단어를 입력하세요."/> <Button android:layout_height="wrap_content" android:layout_width="0dp" android:layout_weight="1" android:id="@+id/inputButton" android:text="Add"/> </LinearLayout>
C:\Users\Jong\Desktop\inturn\BookMarkRoid\res\layout\booklist
<ListView android:layout_height="wrap_content" android:id="@android:id/list" android:layout_width="fill_parent"/> <TextView android:layout_width="wrap_content" android:id="@android:id/empty" android:text="표시할 내용이 없습니다." android:layout_height="wrap_content" android:layout_gravity="center_horizontal"/>
C:\Users\Jong\Desktop\inturn\BookMarkRoid\res\layout\booklist
</LinearLayout>