Stepper
透過集合功能整理內容
你可以依據偏好儲存及分類內容。

Stepper 可讓使用者從多種值中選擇。
使用步進器提供全螢幕的控制體驗,讓使用者從多種值中進行選擇。
圖解
使用方式
請看以下範例瞭解如何使用 Stepper。

請前往 GitHub 查看 Horologist 程式庫,瞭解如何實作音量控制畫面。
自動調整式版面配置

回應式行為
步驟顯示器元件會填滿可用的高度和寬度,因此元素之間的間距視螢幕大小和可用高度而定。

這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","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 (世界標準時間)。"],[],[],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."]]