Enum GridItemLayout
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
SiatkaElementUkład
Typ enumeracji określający styl obrazu i tekstu elementu siatki.
Właściwości
Właściwość | Typ | Opis |
TEXT_BELOW | Enum | Tytuł i podtytuł są wyświetlane pod obrazem elementu siatki. |
TEXT_ABOVE | Enum | Tytuł i podtytuł są wyświetlane nad obrazem elementu siatki. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]