📜  seekbar 拇指位置 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:10.114000             🧑  作者: Mango

代码示例1
int width = seekBar.getWidth()
            - seekBar.getPaddingLeft()
            - seekBar.getPaddingRight();
int thumbPos = seekBar.getPaddingLeft()
            + width
            * seekBar.getProgress()
            / seekBar.getMax();