Home | History | Annotate | Download | only in drawable
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4  * Copyright (C) 2016 The Android Open Source Project
      5  *
      6  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
      7  * use this file except in compliance with the License. You may obtain a copy of
      8  * the License at
      9  *
     10  * http://www.apache.org/licenses/LICENSE-2.0
     11  *
     12  * Unless required by applicable law or agreed to in writing, software
     13  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
     14  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
     15  * License for the specific language governing permissions and limitations under
     16  * the License.
     17  */
     18 -->
     19 <vector xmlns:android="http://schemas.android.com/apk/res/android"
     20         android:height="64dp"
     21         android:width="64dp"
     22         android:viewportHeight="400"
     23         android:viewportWidth="400" >
     24 
     25 <group android:name="backgroundGroup"
     26        android:scaleX="0.5"
     27        android:scaleY="0.5">
     28     <path
     29             android:name="background1"
     30             android:fillColor="@color/fill_gradient_linear"
     31             android:pathData="M 0,0 l 200,0 l 0, 200 l -200, 0 z" />
     32     <path
     33             android:name="background2"
     34             android:fillColor="@color/fill_gradient_radial"
     35             android:pathData="M 200,200 l 200,0 l 0, 200 l -200, 0 z" />
     36     <path
     37             android:name="background3"
     38             android:fillColor="@color/fill_gradient_sweep"
     39             android:pathData="M 400,400 l 200,0 l 0, 200 l -200, 0 z" />
     40 </group>
     41 <group
     42         android:name="translateToCenterGroup"
     43         android:translateX="50.0"
     44         android:translateY="90.0" >
     45     <path
     46             android:name="twoLines"
     47             android:pathData="@string/twoLinePathData"
     48             android:strokeColor="@color/stroke_gradient"
     49             android:strokeWidth="20" />
     50 
     51     <group
     52             android:name="rotationGroup"
     53             android:pivotX="0.0"
     54             android:pivotY="0.0"
     55             android:rotation="-45.0">
     56         <path
     57                 android:name="twoLines1"
     58                 android:pathData="@string/twoLinePathData"
     59                 android:strokeColor="@color/stroke_gradient"
     60                 android:strokeWidth="20" />
     61 
     62         <group
     63                 android:name="translateGroup"
     64                 android:translateX="130.0"
     65                 android:translateY="160.0">
     66             <group android:name="scaleGroup" >
     67                 <path
     68                         android:name="twoLines3"
     69                         android:pathData="@string/twoLinePathData"
     70                         android:strokeColor="@color/stroke_gradient"
     71                         android:strokeWidth="20" />
     72             </group>
     73         </group>
     74 
     75         <group
     76                 android:name="translateGroupHalf"
     77                 android:translateX="65.0"
     78                 android:translateY="80.0">
     79             <group android:name="scaleGroup" >
     80                 <path
     81                         android:name="twoLines2"
     82                         android:pathData="@string/twoLinePathData"
     83                         android:fillColor="@color/fill_gradient_linear"
     84                         android:strokeColor="@color/stroke_gradient"
     85                         android:strokeWidth="20" />
     86             </group>
     87         </group>
     88     </group>
     89 </group>
     90 
     91 </vector>