public class CardGameView extends View {

...

 

 

public CardGameView(Context context, AttributeSet attrs){
  super(context, attrs);
 }

...

}

 

 

view.xml

 

<?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.android.bu.CardGameView    
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     />

</LinearLayout>

 

------------------------------------------------------------------------------------------------

Attributeset cannot be resolved to a type

이런 에러가 납니다.

 

view를 상속받은 것을 layout으로 받을 때

Attributeset을 상속해야 한다고 해서 추가해주었는데

왜 저부분에서 에러가 나는지

아시는 분 조언부탁드립니다 ㅠ