Enum GridItemLayout
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
网格项布局
用于定义 GridItem 的图片和文本样式的枚举。
属性
属性 | 类型 | 说明 |
TEXT_BELOW | Enum | 标题和副标题会显示在网格项的图片下方。 |
TEXT_ABOVE | Enum | 标题和副标题会显示在网格项图片上方。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]