Button

The Button element implements a clickable button. This is a CustomView (about it below) based on ListLayout and,accordingly, has all the properties of ListLayout. But unlike ListLayout, it can receive input focus.

Content is centered by default.

To create a Button, use the function:

func NewButton(session Session, params Params) Button