ztenghui | 4d24caf | 2014-05-28 15:02:35 -0700 | [diff] [blame] | 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 | |
| 18 | <size |
| 19 | android:height="64dp" |
| 20 | android:width="64dp" /> |
| 21 | |
| 22 | <viewport |
| 23 | android:viewportHeight="400" |
| 24 | android:viewportWidth="400" /> |
| 25 | |
| 26 | <group android:name="backgroundGroup" > |
| 27 | <path |
| 28 | android:name="background1" |
| 29 | android:fill="#80000000" |
| 30 | android:pathData="M 0,0 l 200,0 l 0, 200 l -200, 0 z" /> |
| 31 | <path |
| 32 | android:name="background2" |
| 33 | android:fill="#80000000" |
| 34 | android:pathData="M 200,200 l 200,0 l 0, 200 l -200, 0 z" /> |
| 35 | </group> |
| 36 | <group |
| 37 | android:name="translateToCenterGroup" |
| 38 | android:translateX="50.0" |
| 39 | android:translateY="90.0" > |
| 40 | <path |
| 41 | android:name="twoLines" |
| 42 | android:pathData="M 0,0 v 100 M 0,0 h 100" |
| 43 | android:stroke="#FFFF0000" |
| 44 | android:strokeWidth="20" /> |
| 45 | |
| 46 | <group |
| 47 | android:name="rotationGroup" |
| 48 | android:pivotX="0.0" |
| 49 | android:pivotY="0.0" |
| 50 | android:rotation="-45.0" > |
| 51 | <path |
| 52 | android:name="twoLines1" |
| 53 | android:pathData="M 0,0 v 100 M 0,0 h 100" |
| 54 | android:stroke="#FF00FF00" |
| 55 | android:strokeWidth="20" /> |
| 56 | |
| 57 | <group |
| 58 | android:name="translateGroup" |
| 59 | android:translateX="130.0" |
| 60 | android:translateY="160.0" > |
| 61 | <group android:name="scaleGroup" > |
| 62 | <path |
| 63 | android:name="twoLines2" |
| 64 | android:pathData="M 0,0 v 100 M 0,0 h 100" |
| 65 | android:stroke="#FF0000FF" |
| 66 | android:strokeWidth="20" /> |
| 67 | </group> |
| 68 | </group> |
| 69 | </group> |
| 70 | </group> |
| 71 | |
| 72 | </vector> |