[英]Circular progress bar thickness that's thicker the head and thinner on the tail
你可以試試這個 git 庫,它會幫助你並提供更多的自定義https://github.com/castorflex/SmoothProgressBar ...
mProgressBar.setIndeterminateDrawable(new SmoothProgressDrawable.Builder(context)
.strokeWidth(8f) //You should use Resources#getDimension
.build());
您可以在此處指定任何筆划寬度。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.