Enum GridItemLayout
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bố cụcMụcLưới
Một enum xác định kiểu hình ảnh và văn bản của GridItem.
Thuộc tính
Thuộc tính | Loại | Mô tả |
TEXT_BELOW | Enum | Tiêu đề và phụ đề xuất hiện bên dưới hình ảnh của mục trong lưới. |
TEXT_ABOVE | Enum | Tiêu đề và phụ đề xuất hiện phía trên hình ảnh của mục lưới. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]