Enum GridItemLayout
格狀項目版面配置
定義 GridItem 圖片和文字樣式的列舉項目。
屬性
屬性 | 類型 | 說明 |
TEXT_BELOW | Enum | 標題和副標題會顯示在格狀項目的圖片下方。 |
TEXT_ABOVE | Enum | 標題和副標題會顯示在格狀項目的圖片上方。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-03 (世界標準時間)。
[null,null,["上次更新時間:2024-12-03 (世界標準時間)。"],[[["`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"]]