I am building the notification progress bar in Service in such a way that is given below :
private NotificationManager mNotifyManager;
private NotificationCo
you can make the animation list as described above in the answer of Rushab patel but there could be problem if you are using the newst api and if you are targetting the new sdk .
so this following line would become outdated and deprecated
Notification notification = new Notification(R.drawable.wheelAnim, null, System.currentTimeMillis());
which is too bad in coding notification , I must suggest you as you have described above that you are using notification builder , thus I would recomend you to directly use this animation list drawable in the notification builder.
from your snippet
mBuilder =
new NotificationCompat.Builder(DownloadService.this)
.setSmallIcon(R.drawable.youAnimationList)
.setContentTitle("MayUp")
.setContentText("Downloading new tools")
.setTicker("Downloading in progress");
mBuilder.setAutoCancel(true);