How to achieve a smoother, indefinite level of progress used in the Gmail app for Android

I see the difference between the usual undefined Android ProgressBar and Gmail Undefined ProgressBar

any ideas on how they reached such a smooth indefinite progressbar?

Gmail uses very smooth progressbar

+6
source share
1 answer

Hey, I wrote a / lib post about this.

Blog post: http://antoine-merle.com/blog/2013/11/12/make-your-progressbar-more-smooth/

Library: https://github.com/castorflex/SmoothProgressBar

Application example: https://play.google.com/store/apps/details?id=fr.castorflex.android.smoothprogressbar.sample

Come check it out;)

EDIT : if you want to accurately reproduce the gmail progress bar, here is the source code

+17
source

Source: https://habr.com/ru/post/956818/


All Articles