Back to project page RssReader.
The source code is released under:
MIT License
If you think the Android project RssReader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package fr.castorflex.android.smoothprogressbar; /*from ww w .j a v a2s .c o m*/ import android.graphics.drawable.Drawable; import android.graphics.drawable.ShapeDrawable; /** * Created by castorflex on 3/5/14. */ public final class SmoothProgressBarUtils { private SmoothProgressBarUtils() { } public static Drawable generateDrawableWithColors(int[] colors, float strokeWidth) { if (colors == null || colors.length == 0) return null; return new ShapeDrawable(new ColorsShape(strokeWidth, colors)); } }