Skip to content
New issue

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

滑块有明显的毛刺 #135

Open
weeksRen opened this issue Apr 16, 2020 · 1 comment
Open

滑块有明显的毛刺 #135

weeksRen opened this issue Apr 16, 2020 · 1 comment
Labels

Comments

@weeksRen
Copy link

当设置了rsb_thumb_width、rsb_thumb_height和rsb_progress_height某些值的时候,滑块会有明显的毛刺,比如说 app:rsb_thumb_width="30dp"
app:rsb_thumb_height="30dp"
app:rsb_progress_height="5dp",此时便会存在,

app:rsb_thumb_width="30dp"
app:rsb_thumb_height="30dp"
app:rsb_progress_height="6dp"时,毛刺又不会存在了

@developerzjy
Copy link

有可能是因为源码中的paint没设置抗锯齿,可以试一下在源码 RangeSeekBar.java 中的initPaint方法里面加入paint.setAntiAlias(true);

@JinJieGu JinJieGu added the bug label Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants