Article

buttonLockup

Creates a button that can also have a badge associated with it.

Overview

Images on buttons are often used to indicate the function of the button. Use the buttonLockup element to add a badge to the the button. Here's an example that shows a button with the preview icon and a title.

<buttonLockup>
    <badge src="resource://button-preview" />
    <title>Preview</title>
</buttonLockup>

Subelements of buttonLockup

Elements that Use buttonLockup

Topics

Valid TVML Styles

padding

Specifies the padding between the border and contents of an element.

width

Specifies how wide an element is.

Valid TVML Attributes

binding

Associates information in a data item with an element.

prototype

Associates a data item type with an element.

theme

Sets the color scheme for an element.

See Also

Lockup Elements

button

Displays a button icon the user can click to initiate an action.

listItemLockup

Contains a new list item.

lockup

Contains several elements that are treated as a single element.

monogramLockup

Creates a monogram using a person's image or initials.

overlay

Displays elements on top of other elements.