A.定義構(gòu)造函數(shù),讀取自定義屬性值并進(jìn)行初始化設(shè)置。 B.重寫測(cè)量函數(shù)onMesure,計(jì)算該視圖的寬高尺寸。 C.重寫繪圖函數(shù)onDraw或者dispatchDraw,在當(dāng)前視圖內(nèi)部繪制指定形狀。 D.重寫recycle方法釋放資源
A.obtainStyledAttributes B.getStyledAttributes C.getStyle D.obtainAttributes
A.setColor B.setTextColor C.setBackGroundColor D.color=