summaryrefslogtreecommitdiffstats
path: root/tests/VectorDrawableTest/res/anim/trim_path_animation02.xml
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2014-06-03 14:02:10 -0700
committerztenghui <ztenghui@google.com>2014-06-12 13:18:59 -0700
commite5e92602a41a4ddc7b42cd1c171a0edfbd09b8da (patch)
treed1ca259815244f1f51c59f5853f6b5bcfd0e0858 /tests/VectorDrawableTest/res/anim/trim_path_animation02.xml
parent88b00784684d7b706c7b0c4e833b1d67d73358b9 (diff)
downloadframeworks_base-e5e92602a41a4ddc7b42cd1c171a0edfbd09b8da.zip
frameworks_base-e5e92602a41a4ddc7b42cd1c171a0edfbd09b8da.tar.gz
frameworks_base-e5e92602a41a4ddc7b42cd1c171a0edfbd09b8da.tar.bz2
Add AnimatedVectorDrawable
Currently as a hidden class. It can support many the animations now as far as ObjectAnimator and hierarchical group can support. And we don't have path morphing yet. Also support the Animator / Interpolator inflation from Context and Resources. Change-Id: I948bbdf7373ad291171eed0b497959dce8c2edf3
Diffstat (limited to 'tests/VectorDrawableTest/res/anim/trim_path_animation02.xml')
-rw-r--r--tests/VectorDrawableTest/res/anim/trim_path_animation02.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/VectorDrawableTest/res/anim/trim_path_animation02.xml b/tests/VectorDrawableTest/res/anim/trim_path_animation02.xml
new file mode 100644
index 0000000..3bf2865
--- /dev/null
+++ b/tests/VectorDrawableTest/res/anim/trim_path_animation02.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <objectAnimator
+ android:duration="5000"
+ android:propertyName="fill"
+ android:valueFrom="#FF000000"
+ android:valueTo="#FFFF0000"/>
+
+</set> \ No newline at end of file