自定义View - 16.layout()源码分析 2018-07-01 本文已影响40人 zsj1225 PerformLayout: view -> layout() ->onLayout() 摆放子布局,for循环所有子View,只要不是Gone,调用child.Layout()