Skip to end of metadata
Go to start of metadata

Table of Contents


Extends: Group 

Description

The Overhang node provides a information bar that is displayed at the top of a screen in many Roku channels. The regions occupied by the overhang can be filled with either a solid color or a bitmap.

On the left side, a logo bitmap and/or a string can be displayed. If both are displayed, a vertical divider is drawn to separate them. The string is typically set to display a reminder to the user of their current location in the interface. For example, in the Roku homescreen, the string is set to "Search" while the user in the search entry portion of the user interface. Then when the user explores a search result, the string is changed to reflect the name of the content being explored.

On the right side, a clock and/or an indicator that the options key (*) is available can be displayed. If both are displayed, a vertical divider is drawn to separate them.

The appearance and contents of the Overhang can be customized by setting its fields to the desired values. 

Fields

FieldTypeDefaultUse
colorcolor0x232323ff

Specifies that the area occupied by the Overhang should be filled with the specified color.

The color field and the backgroundUri field are "last one wins" fields. Whichever of these fields is set later overrides the other one.

backgroundUriuri""

Specifies the URI of a bitmap that is used to fill the area occupied by the overhang.

The color field and the backgroundUri field are "last one wins" fields. Whichever of these fields is set later overrides the other one.

logoUriuri""

Specifies the URI of a bitmap to be drawn on the left side of the overhang.

If both a logo and a title are specified, the logo will be displayed to the left of the title, separated by a vertical divider.

logoBaselineOffsetfloat0Specifies a vertical adjustment to be applied to the logo to adjust its alignment relative to the overall overhang. The logo is positioned so that its baseline (as specified by this field) aligns with the baseline of the options prompt on the right side of the overhang
titlestring""

Specifies a string to be displayed on the left side of the overhang. It will be drawn to the right of the logo, if a logo is specified. 

If both a logo and a title are specified, the logo will be displayed to the left of the title, separated by a vertical divider.

titleColorcolor0xddddddffSpecifies the color of the title text
showClockBooleantrue

Specifies whether or not the Clock is displayed as part of the annotations that appear on the right side of the Overhang.

If both the clock and the options prompt are shown, the clock will be displayed to the left of the options prompt, separated by a vertical divider 
clockColorcolor0xddddddffSpecifies the color of the clock text
clockTextstring""Specifies an alternate string to display in the clock location on the right side of the overhang. If the clockText field is set to a non-empty string, that string will replace the clock display. Setting the clockText field back to an empty string will restore the display of the clock.
showOptionsBooleanfalse

Specifies whether or not the Options prompt is displayed in as part of the annotations that appear on the right side of the Overhang.

If both the clock and the options prompt are shown, the clock will be displayed to the left of the options prompt, separated by a vertical divider.

optionsColorcolor0xddddddffSpecifies the color of the options indicator when the options key is available (i.e. the showOptions field is set to true)
optionsDimColorcolor0xdddddd44Specifies the color of the options indicator when the options key is not available (i.e. the showOptions field is set to false)
optionsIconColorcolor0xffffffffSpecifies a color to tint the neutral colored options icon displayed in the overhang when the options key is available (i.e. the showOptions field is set to true). If no color is specified, the options icon will be white.
optionsIconDimColorcolor0xffffffffSpecifies a color to tint the neutral colored options icon displayed in the overhang when the options key is not available (i.e. the showOptions field is set to false). If no color is specified, the options icon will be pale gray.
optionsAvailableBooleanfalseSpecifies whether the Options key is currently available. If optionsAvailable is set to true, the options prompt will have an brighter appearance. If false, the options prompt will be dimmed.
optionsTextstring""Sets the text next to the Options ((star)) symbol in the overhang. Available since firmware version 7.5
optionsMaxWidthfloat0.0Set the max width (in pixels) to ellipsize optionsText. It has a default value of 0.0 meaning there is no max width restriction. This field does nothing if optionsText is not set. Available since firmware version 7.5
leftDividerUriuri""Specifies the URI of the bitmap to be used as the divider between the logo and the title on the left side of the overhang
leftDividerVertOffsetfloat0Specifies a vertical offset to add to the position of the divider between the logo and the title on the left side of the overhang. By default, the bottom of the divider bitmap is drawn at baseline offset of the logo bitmap, as specified by the logoBaselineOffset field.
rightDividerUriuri""Specifies the URI of the bitmap to be used as the divider between the clock and the options prompt on the right side of the overhang
rightDividerVertOffsetfloat0Specifies a vertical offset to add to the position of the divider between the clock and the options prompt on the left side of the overhang. By default, the vertical center of the divider bitmap is aligned to the vertical center of the options prompt.
heightfloat115Specifies the height of the Overhang region. Typically this value is not overridden.
  • No labels