android - Custom Drawable for ProgressDialog -


<?xml version="1.0" encoding="utf-8"?> <rotate xmlns:android="http://schemas.android.com/apk/res/android"     android:pivotx="50%" android:pivoty="50%" android:fromdegrees="0"     android:todegrees="360">      <shape android:shape="ring" android:innerradiusratio="3"         android:thicknessratio="8" android:uselevel="false">          <size android:width="48dip" android:height="48dip" />          <gradient android:type="sweep" android:uselevel="false"             android:startcolor="#4c737373" android:centercolor="#4c737373"             android:centery="0.50" android:endcolor="#ffffd300" />      </shape>  </rotate>  

this code creates circle indicator , rotate show 1 color want instead display multi-colors.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -