天天看点

获取组件高度

第一步<code>measure</code>

第二步现在你可以使用宽度<code>getMeasuredWidth</code>和高度使用<code>getMeasuredHeight</code>