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