Steppers
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ

ตัวควบคุมขั้นตอนช่วยให้ผู้ใช้เลือกจากช่วงค่าได้
ใช้ตัวควบคุมแบบเป็นขั้นๆ เพื่อประสบการณ์การควบคุมแบบเต็มหน้าจอที่ช่วยให้ผู้ใช้เลือกจากช่วงค่าได้
กายวิภาคศาสตร์
ก. ปุ่มเพิ่ม
ข. ป้ายกำกับหรือชิป
ค. ปุ่มลด
การใช้งาน
ดูตัวอย่างวิธีใช้ตัวควบคุมแบบเป็นขั้นๆ ต่อไปนี้

โปรดดูไลบรารี Horologist ใน GitHub ซึ่งนำเสนอการใช้งานหน้าจอควบคุมระดับเสียง
เลย์เอาต์ที่ปรับเปลี่ยนได้

ลักษณะการทํางานแบบตอบสนอง
คอมโพเนนต์ตัวเลื่อนจะเติมความสูงและความกว้างที่มีอยู่ ดังนั้นช่องว่างระหว่างองค์ประกอบจะกำหนดโดยขนาดหน้าจอและความสูงที่มีอยู่

ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา 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,["# Steppers\n\nThe [Stepper](/reference/kotlin/androidx/wear/compose/material/package-summary#Stepper(kotlin.Float,kotlin.Function1,kotlin.Int,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Modifier,kotlin.ranges.ClosedFloatingPointRange,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,kotlin.Function1)) allow users to make a selection from a range of values. \nUse steppers for a full-screen control experience that allows users to make a selection from a range of values.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nAnatomy\n-------\n\n**A. Increase button\nB. Label or chip\nC. Decrease button**\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nUsage\n-----\n\nSee the following examples of how to use steppers.\n\nCheck out the [Horologist library](https://github.com/google/horologist#-audio-and-ui) on GitHub that offers an implementation of a volume control screen.\n\nAdaptive layouts\n----------------\n\nResponsive behavior\n-------------------\n\nThe stepper component fills available height and width, therefore the gap between elements is determined by the screen size and the available height."]]