![]() ![]() Number of pixels to offset the left edge of the section divider relative to the left edge of the list items. The section divider label will be ellipsized if necessary in order to ensure that the section divider bitmap meets the minimum width. Specifies the minimum width of the section divider bitmap. The width of the section dividers is determined by the width of the list items as specified by the itemSize field width value. Specifies the height of the section dividers. If the ContentNode node specifies sections for a list or grid, and the section dividers are specified to include an icon and/or a label, specifies the spacing between the icon, label, and section divider bitmap. Specifies the text color for section divider labels Specifies the font for section divider labels For sections that do not contain an icon or a title, the bitmap for the wrap divider is used for the section dividers instead. Only set this field to specify a custom bitmap that differs in appearance from the default bitmap. The section dividers can include an icon and a label in addition to the section divider bitmap. Specifies the bitmap file to use as visual separator between sections of the list. The width of the wrap divider is set to the width of the list items as specified by the itemSize field width value. The bitmap for the wrap divider is scaled to this height. ![]() Specifies the height of the wrap divider, the visual separator between the last and first list items when the list wraps. In most cases, this should be a 9-patch image that specifies both expandable regions. Specifies the bitmap file to use as a wrap divider, the visual separator between the last and first list items when the list wraps. Set this field to show a focus footprint indicator graphic image with a different color than the image specified by focusFootprintBitmapUri. If set to the default, 0xFFFFFFFF, no color blending will occur. Set this field to show a focus indicator graphic image with a different color than the image specified by focusBitmapUri.īlend the graphic image specified by focusFootprintBitmapUri with the specified color. Only set this field to specify a custom bitmap that differs in appearance from the default bitmap.īlend the graphic image specified by focusBitmapUri with the specified color. In most cases, this should be a 9-patch image that specifies both expandable regions as well as margins. Specifies the bitmap file used for the focus indicator when the list does not have focus. Specifies the bitmap file used for the focus indicator when the list has focus. Specifies the row that will have fixed focus if the vertFocusAnimationStyle field value is set to fixedFocusWrap. If the list does not contain enough items to fill the list, the focus indicator will float up and down. Static data in a LabelList may be useful for channel screens such as settings or menus with fixed items.Ĭauses the focus indicator to float up or down until it reaches the end of the list, at which point the focus indicator will stay fixed on the first or last item in the list, and the items will scroll up or down if there are items that were not visible.Ĭauses the list to wrap around when the focus indicator reaches the first or last item in the list, as long as the list contains enough items to fill the list. However, to illustrate the basics of how a LabelList is constructed and used, here is a simple example of creating a LabelList and populating it with static data. In most cases, you will want to populate the content of a LabelList (or other similar components like PosterGrids, etc.) from a content feed, web service API, or some other dynamic data source. The list items can be organized into sections that are demarcated by labelled horizontal divider lines between the sections. Each item can include a text string and an optional icon positioned to the left of the text string. The LabelList node class is a simple list class that can be used to display a list of items. List and Grids Markup - LabelList Markup Description ![]()
0 Comments
Leave a Reply. |