设置进度100,进度条走不满
Open
- Dominant language
- Java
- Stars
- 161
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description

xml设置 app:pr_start_angle="164"
app:pr_sweep_angle="211"
因为 你的unitAngle 是float类型,在计算时出现了精度损失,
修正:unitAngle 改成Double 类型
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the Java/Android code for unitAngle and the app:pr_start_angle and app:pr_sweep_angle attributes, then reproduce the 100% case using the values shown. Done means the progress ring reaches its full extent without the reported floating-point precision loss; use the project's available checks if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100