Google is committed to advancing racial equity for Black communities. See how.

Enum TextButtonStyle

TextButtonStyle

An enum that specifies the style for TextButton.

TEXT is the default; it renders a simple text button with clear background. FILLED buttons have a background color you can set with TextButton.setBackgroundColor(backgroundColor).

Properties

PropertyTypeDescription
TEXTEnumNormal text button with clear background. Default.
FILLEDEnumText button with colored background.