summaryrefslogtreecommitdiffstats
path: root/res/anim
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2011-08-25 22:29:50 +0800
committerChung-yih Wang <cywang@google.com>2011-08-25 22:29:50 +0800
commit6caaf12d9695d19e6a7168dbd4a0bc9dc81c3e0a (patch)
tree015d0b08ecb3f1ce6403dd920ded373adae92c2e /res/anim
parent5952e952aec3fdb8e8a412258ff2d1dc64e8e6c4 (diff)
downloadpackages_apps_LegacyCamera-6caaf12d9695d19e6a7168dbd4a0bc9dc81c3e0a.zip
packages_apps_LegacyCamera-6caaf12d9695d19e6a7168dbd4a0bc9dc81c3e0a.tar.gz
packages_apps_LegacyCamera-6caaf12d9695d19e6a7168dbd4a0bc9dc81c3e0a.tar.bz2
Fix animation for open/close second-level control.
bug:5146861 Change-Id: If3afd9a6eb68d63d720d005eb30fb081c4a37b46
Diffstat (limited to 'res/anim')
-rw-r--r--res/anim/grow_fade_in_from_bottom.xml12
-rw-r--r--res/anim/shrink_fade_out_from_top.xml12
2 files changed, 4 insertions, 20 deletions
diff --git a/res/anim/grow_fade_in_from_bottom.xml b/res/anim/grow_fade_in_from_bottom.xml
index df5bdf4..e2ea9ff 100644
--- a/res/anim/grow_fade_in_from_bottom.xml
+++ b/res/anim/grow_fade_in_from_bottom.xml
@@ -13,14 +13,6 @@
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:shareInterpolator="false">
- <scale android:interpolator="@android:interpolator/decelerate_quint"
- android:fromXScale="1.0" android:toXScale="1.0"
- android:fromYScale="0.2" android:toYScale="1.0"
- android:pivotX="100%" android:pivotY="100%"
- android:duration="300" />
- <alpha android:interpolator="@android:interpolator/decelerate_cubic"
- android:fromAlpha="0.5" android:toAlpha="1.0"
- android:duration="300" />
+<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator">
+ <translate android:fromYDelta="100%p" android:toYDelta="0" android:duration="300" />
</set>
diff --git a/res/anim/shrink_fade_out_from_top.xml b/res/anim/shrink_fade_out_from_top.xml
index 4df151c..4d31904 100644
--- a/res/anim/shrink_fade_out_from_top.xml
+++ b/res/anim/shrink_fade_out_from_top.xml
@@ -13,14 +13,6 @@
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:shareInterpolator="false">
- <scale android:interpolator="@android:interpolator/decelerate_quint"
- android:fromXScale="1.0" android:toXScale="1.0"
- android:fromYScale="1.0" android:toYScale="0.2"
- android:pivotX="100%" android:pivotY="100%"
- android:duration="300" />
- <alpha android:interpolator="@android:interpolator/decelerate_cubic"
- android:fromAlpha="1.0" android:toAlpha="0.0"
- android:duration="300" />
+<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator">
+ <translate android:fromYDelta="0" android:toYDelta="100%p" android:duration="300" />
</set>