แบ่งเป็นช่องๆ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Slice คือเทมเพลต UI ที่แสดงเนื้อหาแบบสื่อสมบูรณ์ ไดนามิก และอินเทอร์แอกทีฟ
จากแอปของคุณภายในแอป Google Search รวมถึงในที่อื่นๆ เช่น
Google Assistant Slice ช่วยให้ผู้ใช้ทำงานได้เร็วขึ้นด้วยการกระตุ้น
การมีส่วนร่วมภายนอกประสบการณ์การใช้งานแอปแบบเต็มหน้าจอ คุณสร้าง Slice เป็นส่วนเสริมของการกระทําในแอปได้
การรองรับ Slice มีอยู่ใน Android Jetpack และสามารถขยายการรองรับย้อนกลับไปได้จนถึง Android 4.4 ซึ่งครอบคลุมผู้ใช้ Android ประมาณ 95%
ดูคู่มือการเริ่มต้นใช้งานเพื่อเริ่มสร้าง Slice ได้เลยวันนี้
เลย์เอาต์ที่ยืดหยุ่นและสมบูรณ์
เมื่อใช้เทมเพลต คุณจะปรับแต่ง Slice ด้วยสี ข้อความ รูปภาพ วิดีโอ และอื่นๆ ให้ตรงกับการออกแบบของแอปได้

เนื้อหาแบบไดนามิกและอินเทอร์แอกทีฟ
Slice รองรับข้อมูลสด เนื้อหาที่เลื่อนได้ การดำเนินการในบรรทัด และ Deep Link
ไปยังแอปของคุณ นอกจากนี้ Slice ยังมีตัวควบคุมแบบอินเทอร์แอกทีฟ เช่น สวิตช์และ
แถบเลื่อน

ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Slices are UI templates that can display rich, dynamic, and interactive content\nfrom your app from within the Google Search app and also in other places like\nthe Google Assistant. Slices can help users perform tasks faster by enabling\nengagement outside of the fullscreen app experience. You can build Slices as\nenhancements to [App Actions](/guide/actions).\n\nSupport for Slices is built into [Android Jetpack](/jetpack) and can extend all\nthe way back to Android 4.4, reaching approximately 95% of all Android users.\n\nCheck out the [getting started guide](/guide/slices/getting-started) to start\nbuilding Slices today.\n\nRich and flexible layouts\n-------------------------\n\nUsing [templates](/guide/slices/templates), you can customize your Slices with\ncolor, text, imagery, video, and more to match your app's design.\n\n\nDynamic and interactive content\n-------------------------------\n\nSlices support live-data, scrolling content, inline actions, and deep-linking\ninto your app. Slices can also contain interactive controls like toggles and\nsliders."]]