Merge "Add a layout attribute in widget metadata for widget preview" into sc-dev