Gradient progressbar
2
Simple method to implement Custom Gradient Progressbar in SKETCHWARE
Xml Code (Add inside drawable folder name as progress.xml)
<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"><item android:id="@android:id/background"><shape>
<corners android:radius="30dp"/>
<solid android:color="#EEEFF2"/>
</shape>
</item><item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="30dp"/>
<gradient android:endColor="#02D7FE" android:startColor="#1555F3"/>
</shape>
</clip>
</item></layer-list>
Inject code to progressbar view
android:progressDrawable="@drawable/progress"
android:minHeight="20dip"
android:maxHeight="20dip"
Check out