Displays a list of items along one side of a page and the corresponding image on the other side.
list element to display a list of items; for example, a list of the user’s favorite movies. Whereas you use the catalog template to display categories of a product (action movies, comedies, favorite movies), you use the list template to display actual contents of one category, such as a list of the user’s favorite movies. The items are listed on the right side of the screen with like items grouped together in a section. A title providing a brief description of the items is contained in a header area directly above the listed items. When an item is selected, information about the item is displayed on the left side of the screen. The following figure shows the basic layout for a
list page. The theme for the list template defaults to the system preference.
The following listing shows the main elements of the
list in TVML format.
Element containing background information and the page title.
Information describing what a section contains.
Element containing all content for the
Element containing all information that pertains to one list item, such as an item title and image, as well as related content.
Information that is displayed on the left side of the screen when an item in the list is highlighted.
An area of the page that groups related elements together as one element, for layout purposes. In this case, the section contains list items.
The following listing shows the TVML for a
list example. An image and a description that relate to the highlighted item are displayed on the left side of the screen.
The following figure shows the output for the above example: