问题描述
我项目的最小 SDK 是 21。我的 SeekBar 目前看起来像这样。
但是,我想更改点的颜色和进度。我已经尝试调整需要资源的每个属性。要么什么也没发生,要么点完全消失。其他帖子建议调整不存在的 thumbTint 等属性。
解决方法
建议使用 Material Slider 而不是 Seekbar。它们在功能和外观上实际上是相同的。
我项目的最小 SDK 是 21。我的 SeekBar 目前看起来像这样。
但是,我想更改点的颜色和进度。我已经尝试调整需要资源的每个属性。要么什么也没发生,要么点完全消失。其他帖子建议调整不存在的 thumbTint 等属性。
建议使用 Material Slider 而不是 Seekbar。它们在功能和外观上实际上是相同的。