summaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable/progressbar_circle.xml
blob: 6257e3afa6db6a96b3388c1c2128e1d12b22938f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="utf-8"?>

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:id="@+id/progress1">
        <rotate
            android:fromDegrees="-90"
            android:pivotX="50%"
            android:pivotY="50%"
            android:toDegrees="90">

            <shape
                android:shape="ring"
                android:useLevel="true">
                <gradient
                    android:endColor="#00c5e1a5"
                    android:centerColor="#c5e1a5"
                    android:startColor="#00ffe082"
                    android:type="sweep"
                    />
            </shape>
        </rotate>
    </item>

    <item android:id="@+id/progress2">
        <rotate
            android:fromDegrees="0"
            android:pivotX="50%"
            android:pivotY="50%"
            android:toDegrees="180">

            <shape
                android:shape="ring"
                android:useLevel="true">
                <gradient
                    android:endColor="#00ffcc80"
                    android:centerColor="#ffcc80"
                    android:startColor="#00ffcc80"
                    android:type="sweep"
                    />
            </shape>
        </rotate>
    </item>

    <item android:id="@+id/progress3">
        <rotate
            android:fromDegrees="90"
            android:pivotX="50%"
            android:pivotY="50%"
            android:toDegrees="270">
            <shape
                android:shape="ring"
                android:useLevel="true">
                <gradient
                    android:endColor="#00ce93d8"
                    android:centerColor="#ce93d8"
                    android:startColor="#00ce93d8"
                    android:type="sweep"
                    />
            </shape>
        </rotate>
    </item>

    <item android:id="@+id/progress4">
        <rotate
            android:fromDegrees="180"
            android:pivotX="50%"
            android:pivotY="50%"
            android:toDegrees="0">
            <shape
                android:shape="ring"
                android:useLevel="true">
                <gradient
                    android:endColor="#0081d4fa"
                    android:centerColor="#81d4fa"
                    android:startColor="#0081d4fa"
                    android:type="sweep"
                    />
            </shape>
        </rotate>
    </item>

</layer-list>