We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rsRangeSeekBar.progressColor = ContextCompat.getColor(this, R.color.declub_text_gray) rsRangeSeekBar.progressDefaultColor = ContextCompat.getColor(this, R.color.declub_text_gray) rsRangeSeekBar.tickMarkTextColor = ContextCompat.getColor(this, R.color.declub_text_gray) // 将自定义stepDrawable全部改变成灰色 val stepsBitmaps = mutableListOf().apply { rsRangeSeekBar.stepsBitmaps.forEach { stepsBitmap -> CommonUtils.replaceBitmapColor( stepsBitmap, Color.WHITE, Color.parseColor("#9E9E9E") )?.let { add(it) } } } if (stepsBitmaps.isNotEmpty()) { rsRangeSeekBar.stepsBitmaps = stepsBitmaps } 我直接设置不生效,但是将rangeSeekBar先setVisibility(View.Gone)再显示会生效。 求原因 或者其他方式修改全部元素颜色
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rsRangeSeekBar.progressColor = ContextCompat.getColor(this, R.color.declub_text_gray)
rsRangeSeekBar.progressDefaultColor = ContextCompat.getColor(this, R.color.declub_text_gray)
rsRangeSeekBar.tickMarkTextColor = ContextCompat.getColor(this, R.color.declub_text_gray)
// 将自定义stepDrawable全部改变成灰色
val stepsBitmaps = mutableListOf().apply {
rsRangeSeekBar.stepsBitmaps.forEach { stepsBitmap ->
CommonUtils.replaceBitmapColor(
stepsBitmap,
Color.WHITE,
Color.parseColor("#9E9E9E")
)?.let {
add(it)
}
}
}
if (stepsBitmaps.isNotEmpty()) {
rsRangeSeekBar.stepsBitmaps = stepsBitmaps
}
我直接设置不生效,但是将rangeSeekBar先setVisibility(View.Gone)再显示会生效。
求原因 或者其他方式修改全部元素颜色
The text was updated successfully, but these errors were encountered: