add clear to layout empty
 layout add empty and add remove layout
 consider show hide situation