diff options
author | Chung-yih Wang <cywang@google.com> | 2011-08-15 12:43:23 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2011-08-17 15:25:00 +0800 |
commit | adab2bddc93bf4af535cb58e7167bf8690d97d8c (patch) | |
tree | 1d6a716948dd84f35282529172d2c7e5fecbf781 /res/anim | |
parent | 383a2b45820ff710627dbd536f1bd683e393e335 (diff) | |
download | packages_apps_LegacyCamera-adab2bddc93bf4af535cb58e7167bf8690d97d8c.zip packages_apps_LegacyCamera-adab2bddc93bf4af535cb58e7167bf8690d97d8c.tar.gz packages_apps_LegacyCamera-adab2bddc93bf4af535cb58e7167bf8690d97d8c.tar.bz2 |
Add Sprung Lever Zoom Control for Phone UI.
bug:5083780
Change-Id: I5b29f6bc509fc93ed74175e2754ce9f3c4afe27f
Diffstat (limited to 'res/anim')
-rw-r--r-- | res/anim/grow_fade_in_from_bottom.xml | 26 | ||||
-rw-r--r-- | res/anim/shrink_fade_out_from_top.xml | 26 |
2 files changed, 52 insertions, 0 deletions
diff --git a/res/anim/grow_fade_in_from_bottom.xml b/res/anim/grow_fade_in_from_bottom.xml new file mode 100644 index 0000000..df5bdf4 --- /dev/null +++ b/res/anim/grow_fade_in_from_bottom.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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: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> diff --git a/res/anim/shrink_fade_out_from_top.xml b/res/anim/shrink_fade_out_from_top.xml new file mode 100644 index 0000000..4df151c --- /dev/null +++ b/res/anim/shrink_fade_out_from_top.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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: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> |