位置インジケーター
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。

PositionIndicator コンポーネントは、リストまたは範囲の値におけるユーザーの位置を表示します。
回転サイドボタン(RSB)を使用してスクロール、設定の調整、音量の調節などの操作を行える場合は、リストなどで位置インジケーターを使用します。
構造
Usage
位置インジケーターの例を次に示します。

大画面

レスポンシブ動作
位置インジケーターは画面サイズに関係なく同じサイズのままです。つまり、カーブの角度は画面サイズに合わせて少し変わります。

位置インジケーター
インジケーターの円弧は常に 50 dp の高さになります(比例してスケーリングされることはありません)。つまり、サイズが大きくなるほど度数だけ変化します。
SysUI に合わせて、マージンを 2 dp まで手動で調整できます。高さは 50 dp に固定されます。

コントロール/RSB インジケーター
インジケーターの円弧は常に 76 dp の高さです(比例してスケーリングされることはありません)。つまり、サイズが大きくなるほど度数のみが変化します。
次のことができます。
- SysUI に合わせて、マージンを 2 dp まで手動で調整します。高さは 50 dp に固定されます。
- インジケーターを画面の左側または右側に配置します。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。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,["# Position indicator\n\nThe [PositionIndicator](/reference/kotlin/androidx/wear/compose/material/package-summary#PositionIndicator(androidx.compose.foundation.ScrollState,androidx.compose.ui.Modifier,kotlin.Boolean)) component displays the user's location in a list or range value. \nUse position indicators in list or for other contexts when you can use the rotating side button (RSB) to scroll, adjust settings, control volume, or do other actions.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nAnatomy\n-------\n\nA. Track \nB. Indicator\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nUsage\n-----\n\nSee the following examples of position indicators.\n\nLarge screens\n-------------\n\n### **Responsive behavior**\n\nThe position indicator will remain the same size across screen sizes, this means the angle of the curve will change slightly to match.\n\n**Position indicator**\n\nThe arc of the indicator is always 50 dp high (doesn't scale proportionally) meaning only the degree changes as you go up in size. \n\n\nIt's possible to manually adjust the margin down to 2 dp to match SysUI. The height will remain fixed at 50 dp.\n\n**Control/RSB indicator**\n\nThe arc of the indicator is always 76 dp high (doesn't scale proportionally) meaning only the degree changes as you go up in size. \n\nIt's possible to:\n\n- Manually adjust the margin down to 2 dp to match SysUI. The height will remain fixed at 50 dp.\n- Have the indicator sit on the left or right side of the screen."]]