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。"],[],["`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,[]]