Enum GridItemLayout
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตารางรายการเลย์เอาต์
อาร์เรย์แบบจำกัดที่กำหนดรูปแบบรูปภาพและข้อความของ GridItem
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
TEXT_BELOW | Enum | ชื่อและคำบรรยายจะแสดงใต้รูปภาพของรายการตารางกริด |
TEXT_ABOVE | Enum | ชื่อและคำบรรยายจะแสดงเหนือรูปภาพของรายการตารางกริด |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]