diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-07-29 21:48:42 +0200 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2013-07-29 21:48:42 +0200 |
commit | 22eafa91bd62d2c26fc40aaa3aba9b1cfc410039 (patch) | |
tree | edab70da9185488efcdf4650b1b4e9de23f6d09b /res/anim/cards_animation_up_right.xml | |
parent | acef1340bbab09f439470642847c1959c869ef95 (diff) | |
download | android_packages_wallpapers_PhotoPhase-22eafa91bd62d2c26fc40aaa3aba9b1cfc410039.tar.gz android_packages_wallpapers_PhotoPhase-22eafa91bd62d2c26fc40aaa3aba9b1cfc410039.tar.bz2 android_packages_wallpapers_PhotoPhase-22eafa91bd62d2c26fc40aaa3aba9b1cfc410039.zip |
Fix layouts and use left and right effects
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res/anim/cards_animation_up_right.xml')
-rw-r--r-- | res/anim/cards_animation_up_right.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/res/anim/cards_animation_up_right.xml b/res/anim/cards_animation_up_right.xml new file mode 100644 index 0000000..e4d1603 --- /dev/null +++ b/res/anim/cards_animation_up_right.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 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" + android:interpolator="@android:anim/accelerate_interpolator" > + + <translate + android:duration="@integer/cards_slide_anim" + android:fromYDelta="100%p" + android:toYDelta="0" /> + + <alpha + android:duration="@integer/cards_slide_anim" + android:fromAlpha="0.0" + android:toAlpha="1.0" /> + + <rotate + android:duration="@integer/cards_slide_anim" + android:fromDegrees="-25" + android:pivotX="100%" + android:pivotY="0" + android:toDegrees="0" /> +</set>
\ No newline at end of file |