Enum GridItemLayout
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: 2024-12-03 UTC.
[null,null,["Ostatnia aktualizacja: 2024-12-03 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"]]