天天看點

Binary XML file line #68:

問題描述:自定義view,繼承 LinearLayout.需要實作其方法.(有4個方法,需實作其中一個)

public class CallLoadingView  extends LinearLayout implements View.OnClickListener {

    public CallLoadingView(Context context) {
        super(context);
    }      

}

解決問題:實作的方法錯了,需要實作一下方法.

public class CallLoadingView  extends LinearLayout implements View.OnClickListener {
      
public CallLoadingView(Context context, @Nullable AttributeSet attrs) {
        super(context);
    }      

}