<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<com.WSliding1.WGameView
android:id="@+id/mGameView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
></com.WSliding1.WGameView>
</LinearLayout>
이나
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<com.WoriSliding1.WGameView
android:id="@+id/mGameView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
></com.WSliding1.WGameView>
</LinearLayout>
을해도 오류가 뜹니다.
대체 왜 이럴까요ㅠㅠㅠ?
프로젝트 명. view 이름 인데...ㅠㅠㅠㅠ
아시는분 들 좀 알려주세요ㅠㅠ
어떤 오류인지 전혀 안알려주셔서 모르겠지만...
xml이 문제가 아니라 제 생각엔
WGameView class안에 생성자의 문제일 것 같네요.
생성자에 인자로 attr인가...를 받을 수 있는 생성자로 오버라이드 해주셔야 xml에서 사용가능 할 겁니다...