Enum ImageButtonStyle

ImageButtonStyle

An enum that specifies the style for ImageButton .

BORDERLESS is the default; it renders a simple image button with no border. FILLED buttons have a background color you can set with ImageButton .

To call an enum, you call its parent class, name, and property. For example, CardService.ImageButtonStyle.BORDERLESS.

Properties

PropertyTypeDescription
BORDERLESSEnumImage button with no border. Default.
OUTLINEDEnumImage button with clear background.
FILLEDEnumImage button with colored background.
FILLED_TONALEnumImage button with an alternative middle ground between filled and outlined buttons.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年12月02日 UTC.