Create a layout for each list item.