안드로이드 개발 질문/답변
(글 수 45,052)
에러명 : android.view.InflateException: Binary XML file line #2: Error inflating class com.myjob.MyjobListView
TextView 확장한 클래스(MyjobListView) 만들었고요 레이아웃 파일 하나 만들어서
<com.myjob.MyjobListView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width ="fill_parent"
android:layout_height ="fill_parent"
android:padding ="10dp"
android:textColor ="@color/notepad_text"
android:fadingEdge ="vertical"
android:scrollbars ="vertical"
/>
이렇게 등록해줬습니다. 책내용 따라한거라 오타 확인 패키지명 확인 다해봤는데 왜 인플레이트 예외가 발생하나요 ?
소스 원본 첨부했어요 ..당췌 몰겟어요 돠주십쇼
실행 후 방향키 가운데 버튼 눌르면 리스트가 등록되는데 그때 에러가 납니다.
TextView 확장한 클래스(MyjobListView) 만들었고요 레이아웃 파일 하나 만들어서
<com.myjob.MyjobListView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width ="fill_parent"
android:layout_height ="fill_parent"
android:padding ="10dp"
android:textColor ="@color/notepad_text"
android:fadingEdge ="vertical"
android:scrollbars ="vertical"
/>
이렇게 등록해줬습니다. 책내용 따라한거라 오타 확인 패키지명 확인 다해봤는데 왜 인플레이트 예외가 발생하나요 ?
소스 원본 첨부했어요 ..당췌 몰겟어요 돠주십쇼
실행 후 방향키 가운데 버튼 눌르면 리스트가 등록되는데 그때 에러가 납니다.



