Enum GridItemLayout
GridItemLayout
An enum that defines the image and text style of a GridItem.
Properties
Property | Type | Description |
TEXT_BELOW | Enum | The title and subtitle are shown below the grid item's image. |
TEXT_ABOVE | Enum | The title and subtitle are shown above the grid item's image. |
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.
[null,null,["Last updated 2024-12-02 UTC."],[[["`GridItemLaytout` is an enum used to define the style of a `GridItem`."],["It offers two options: `TEXT_BELOW` to display text under the image and `TEXT_ABOVE` to display text above the image."]]],["`GridItemLayout` is an enum that specifies the layout of a `GridItem`. It controls the positioning of the item's title and subtitle relative to its image. The `TEXT_BELOW` option places the title and subtitle underneath the image. The `TEXT_ABOVE` option places the title and subtitle above the image. These two enum values are the only options available for customizing the text position within a `GridItem`.\n"]]