the layout of the device and itemcontent