There was an error while loading. Please reload this page.
请教一下,在安卓自定义View进阶-分类与流程中有一个,注意
如果对View的宽高进行修改了,不要调用 super.onMeasure( widthMeasureSpec, heightMeasureSpec); 要调用 setMeasuredDimension( widthsize, heightsize); 这个函数。
这是为什么?