表示聽不懂。。
左邊和下面占的空間太大,代碼不能一下子看全。
老師,速度快沒事,我多看兩次就好,可是你都是在敲代碼,沒講干嘛用的,作為新手我聽不懂。
左邊和下面占的空間太大,代碼不能一下子看全。
老師,速度快沒事,我多看兩次就好,可是你都是在敲代碼,沒講干嘛用的,作為新手我聽不懂。
2015-07-20
mTextBound.height()這里報空指針了,原來我將public ChangeColorIconWithText(Context context) {
this(context,null);
}
public ChangeColorIconWithText(Context context, AttributeSet attrs) {
this(context, attrs,0);
}
的this都寫成super了
this(context,null);
}
public ChangeColorIconWithText(Context context, AttributeSet attrs) {
this(context, attrs,0);
}
的this都寫成super了
2015-07-18
三個構(gòu)造函數(shù),前2個是 this(context, null);this(context, attrs, 0);
2015-07-17