| <!-- |
| Copyright (C) 2014 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <vector xmlns:android="http://schemas.android.com/apk/res/android" > |
| |
| <size |
| android:height="64dp" |
| android:width="64dp" /> |
| |
| <viewport |
| android:viewportHeight="600" |
| android:viewportWidth="600" /> |
| |
| <group> |
| <path |
| android:name="pie1" |
| android:pathData="M300,70 a230,230 0 1,0 1,0 z" |
| android:stroke="#FF00FF00" |
| android:strokeWidth="70" |
| android:trimPathEnd=".75" |
| android:trimPathOffset="0" |
| android:trimPathStart="0" /> |
| <path |
| android:name="v" |
| android:fill="#FF00FF00" |
| android:pathData="M300,70 l 0,-70 70,70 -70,70z" |
| android:pivotX="300" |
| android:pivotY="300" |
| android:rotation="0" /> |
| </group> |
| <group> |
| <path |
| android:name="v" |
| android:pathData="M300,70 l 0,-70 70,70 -70,70z" |
| android:pivotX="300" |
| android:pivotY="300" |
| android:rotation="360" /> |
| <path |
| android:name="pie2" |
| android:pathData="M300,70 a230,230 0 1,0 1,0 z" |
| android:pivotX="300" |
| android:pivotY="300" |
| android:rotation="360" |
| android:stroke="#FF00FF00" |
| android:strokeLineCap="round" |
| android:strokeWidth="70" |
| android:trimPathEnd=".5" |
| android:trimPathOffset="0" |
| android:trimPathStart="0" /> |
| </group> |
| |
| <animation |
| android:animate="easeInOut" |
| android:durations="2000" |
| android:repeatCount="-1" |
| android:repeatStyle="forward" |
| android:sequence="pie1,pie2" |
| android:startOffset="500" /> |
| <animation |
| android:animate="easeInOut" |
| android:durations="2000" |
| android:repeatCount="-1" |
| android:repeatStyle="forward" |
| android:sequence="v,v" |
| android:startOffset="500" /> |
| <animation |
| android:animate="easeInOut" |
| android:durations="2800" |
| android:limitTo="trimPathEnd" |
| android:repeatCount="-1" |
| android:repeatStyle="reverse" |
| android:sequence="pie1,pie2" |
| android:startOffset="500" /> |
| |
| </vector> |