int iconWidth = Math.min(getMeasuredWidth() - getPaddingLeft() - getPaddingRight(),getMeasuredHeight() - getPaddingTop() - getPaddingBottom() - mTextBound.height());
int iconWidth = Math.min(getMeasuredWidth() - getPaddingLeft() - getPaddingRight(),getMeasuredHeight() - getPaddingTop() - getPaddingBottom() - mTextBound.height());告訴我是空 ?怎么改呀 ?老師
2022-03-24
window.open()是打開新的窗口,再用.close()是關(guān)閉這個窗口?;鸷柚沟脑捑褪菫g覽器兼容性問題同學(xué)你這樣寫css樣式有問題的像這樣width=200px;要寫成這樣:width:200px;
2016-05-19
我的也是報這個錯,有沒有解決的方法,我是寫在onMeasure()里,mTextBound已經(jīng)實例化了
2016-03-06
從你給的代碼看空指針有兩種可能,首先這段代碼是否寫在onMeasure()里,如果是,再看mTextBound是否在此之前已經(jīng)實例化