현재 A라는 클래스에서 B라는 라이브러리 클래스를 상속받고 있습니다. B 클래스는 ImageView 클래스를 상속받고 있구요


제가 궁금한 것은 A라는 클래스를 C라는 클래스의 xml 에서 클래스 적용시켜주기 위해서는


예를 들면   <com.test.A

android:id="@+id/test"

android:width="fill_parent"

android:height="fill_parent"


이런식으로 정의를 해 놓았다 하면


A라는 클래스의 생성자에 

public A (Context context, Attribute attrs) {

super(context, attrs);

}


가 필요하다고 알고 있는데요 


문제는.. A 클래스가 상속하고 있는 B 라이브러리 클래스 생성자에 

public B (Context context, Attribute attrs) {

super(context, attrs);

}


라는 형태의 생성자가 없다는 것입니다 ㅠㅠㅠㅠㅠ


어떻게 쓸 수 있는 방법이 없을까요???


도와주세요