diff options
author | cyberta <cyberta@riseup.net> | 2018-02-16 04:02:13 -0800 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2018-02-16 04:02:13 -0800 |
commit | ff319e7862b5b6e1592811aa8c6571c7b9a1631c (patch) | |
tree | d3abb15ef5d5f78a2adaf77a9c18af4b7bef1d1e /app/src/main/res/drawable | |
parent | 0365f243fc56112b2f43b35e1b4884d2d1ad2aa4 (diff) | |
parent | 5564c4e5801529f846fa88e9258859f6aac4da1d (diff) |
Merge branch '#8831_progress_animation_when_connecting' into '0.9.8'
#8831 progress animation when connecting
See merge request leap/bitmask_android!43
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/progressbar_circle.xml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/progressbar_circle.xml b/app/src/main/res/drawable/progressbar_circle.xml new file mode 100644 index 00000000..6257e3af --- /dev/null +++ b/app/src/main/res/drawable/progressbar_circle.xml @@ -0,0 +1,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>
\ No newline at end of file |