Enum GridItemLayout
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
GrigliaElementoLayout
Un enum che definisce lo stile di testo e immagine di un elemento Grid.
Proprietà
Proprietà | Tipo | Descrizione |
TEXT_BELOW | Enum | Il titolo e il sottotitolo vengono visualizzati sotto l'immagine dell'elemento della griglia. |
TEXT_ABOVE | Enum | Il titolo e il sottotitolo vengono visualizzati sopra l'immagine dell'elemento della griglia. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eGridItemLaytout\u003c/code\u003e is an enum used to define the style of a \u003ccode\u003eGridItem\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eTEXT_BELOW\u003c/code\u003e to display text under the image and \u003ccode\u003eTEXT_ABOVE\u003c/code\u003e to display text above the image.\u003c/p\u003e\n"]]],["`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"],null,["# Enum GridItemLayout\n\nGridItemLayout\n\nAn enum that defines the image and text style of a GridItem. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|---------------------------------------------------------------|\n| `TEXT_BELOW` | `Enum` | The title and subtitle are shown below the grid item's image. |\n| `TEXT_ABOVE` | `Enum` | The title and subtitle are shown above the grid item's image. |"]]