added layoutSubviews supports

added layoutSubviews supports