diff options
author | John Hoford <hoford@google.com> | 2014-03-27 00:14:14 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-03-27 00:14:14 +0000 |
commit | 49224acd789b2aae60bd0ec03cbf60cb9c712917 (patch) | |
tree | 3e48aa1b464017331b580e25f85381e7c83efae7 /tests/DynamicDrawableTest/res/drawable/vector_drawable18.xml | |
parent | 2cd84701fe3df4ad65fc1c794ba403e6c9d88923 (diff) | |
parent | abb7d134c02ac60091108c491dafb00877093170 (diff) | |
download | frameworks_base-49224acd789b2aae60bd0ec03cbf60cb9c712917.zip frameworks_base-49224acd789b2aae60bd0ec03cbf60cb9c712917.tar.gz frameworks_base-49224acd789b2aae60bd0ec03cbf60cb9c712917.tar.bz2 |
Merge "add Dynamic Drawable (vector graphics for Icons)"
Diffstat (limited to 'tests/DynamicDrawableTest/res/drawable/vector_drawable18.xml')
-rw-r--r-- | tests/DynamicDrawableTest/res/drawable/vector_drawable18.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/DynamicDrawableTest/res/drawable/vector_drawable18.xml b/tests/DynamicDrawableTest/res/drawable/vector_drawable18.xml new file mode 100644 index 0000000..83dfbd2 --- /dev/null +++ b/tests/DynamicDrawableTest/res/drawable/vector_drawable18.xml @@ -0,0 +1,45 @@ +<!-- 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:stroke="#FFFFFF00" + android:strokeWidth="10"/> + </group> + + <group> + <path + android:name="house" + android:pathData="M100,200 C100,100 250,100 250,200 S400,300 400,200" + android:strokeWidth="10" + android:rotation="360" + android:pivotX="250" + android:pivotY="200"/> + </group> + + <animation android:sequence="arrow,house"/> + + +</vector> |