android自定义控件中
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
// super.onMeasure(widthMeasureSpec, heightMeasureSpec);
setMeasuredDimension(backgroundBitmap.getWidth(), backgroundBitmap.getHeight());//为什么要用这个方法保存数据
}
qq_我输过但从未怕过_0
随时随地看视频慕课网APP
相关分类