PositionIndicator
组件可显示用户在列表或范围值中的位置。
![](https://developer.android.google.cn/static/wear/images/components/positionindicator-default.png?authuser=0&hl=nl)
如需显示列表中的位置,或者在其他情景中使用旋转侧面按钮 (RSB) 滚动、调整设置、控制音量或执行其他操作,请使用位置指示器。
剖析
![](https://developer.android.google.cn/static/wear/images/components/positionindicator-anatomy.png?authuser=0&hl=nl)
A. 轨道
B. 指示器
B. 指示器
用法
请参阅以下位置指示器示例。
PositionIndicator
组件可显示用户在列表或范围值中的位置。
请参阅以下位置指示器示例。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。