summaryrefslogtreecommitdiffstats
path: root/tests/VectorDrawableTest/res/drawable/vector_drawable15.xml
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2014-04-02 16:35:24 -0700
committerztenghui <ztenghui@google.com>2014-04-02 17:31:08 -0700
commitfba3bad3870d607ecaed4f147788885c841c2ab3 (patch)
tree467f9a781557d1fd25f5a5acb8e281dd7db689a0 /tests/VectorDrawableTest/res/drawable/vector_drawable15.xml
parent1970f570714a4746bf592e26731ea0ee8933d363 (diff)
downloadframeworks_base-fba3bad3870d607ecaed4f147788885c841c2ab3.zip
frameworks_base-fba3bad3870d607ecaed4f147788885c841c2ab3.tar.gz
frameworks_base-fba3bad3870d607ecaed4f147788885c841c2ab3.tar.bz2
Clean up on VectorDrawable.
Rename the test from DynamicDrawableTest to VectorDrawableTest. Remove duplicate function calls in the test. Fix comments in VectorDrawable Change-Id: I1ef87137088ccc10b1abdb40ca368345d9dbadab
Diffstat (limited to 'tests/VectorDrawableTest/res/drawable/vector_drawable15.xml')
-rw-r--r--tests/VectorDrawableTest/res/drawable/vector_drawable15.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable15.xml b/tests/VectorDrawableTest/res/drawable/vector_drawable15.xml
new file mode 100644
index 0000000..6bc946f
--- /dev/null
+++ b/tests/VectorDrawableTest/res/drawable/vector_drawable15.xml
@@ -0,0 +1,48 @@
+<!-- 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:width="64dp"
+ android:height="64dp"/>
+
+ <viewport android:viewportWidth="500"
+ android:viewportHeight="400"/>
+
+ <group>
+ <path
+ android:name="arrow"
+ android:pathData="M100,200 C100,100 250,100 250,200 S400,300 400,200"
+ android:fill="#ffffffff"
+ android:stroke="#FFFF0000"
+ android:strokeWidth="1"/>
+ </group>
+
+ <group>
+ <path
+ android:name="house"
+ android:pathData="M100,200 C100,100 250,100 250,200 S400,300 400,200"
+ android:fill="#ff440000"
+ android:stroke="#FFFF0000"
+ android:strokeWidth="10"
+ android:rotation="180"
+ android:pivotX="250"
+ android:pivotY="200"/>
+ </group>
+
+ <animation android:sequence="arrow,house"/>
+
+
+</vector>