add layout interface for cocostudio