do On Layout
Executes a block when the view has been laid out and measured.
Useful for getting actual view dimensions.
View가 레이아웃되고 측정된 후 블록을 실행합니다.
실제 View 크기를 얻는 데 유용합니다.
Parameters
action
Block to execute when view is laid out.
View가 레이아웃될 때 실행할 블록.