diff options
author | Chung-yih Wang <cywang@google.com> | 2011-11-10 14:00:40 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2011-11-14 16:05:00 +0800 |
commit | 006baced4746ddaf31fbd170bcb76abc5f1f8325 (patch) | |
tree | 8bc2e96bf777b41079b701f1cf8b806276948fce /res/anim/setting_popup_shrink_fade_out.xml | |
parent | 8d51fc281ca4e14c87eac278d153e162c0e1fcf2 (diff) | |
download | LegacyCamera-006baced4746ddaf31fbd170bcb76abc5f1f8325.zip LegacyCamera-006baced4746ddaf31fbd170bcb76abc5f1f8325.tar.gz LegacyCamera-006baced4746ddaf31fbd170bcb76abc5f1f8325.tar.bz2 |
Fix several UI bugs.
bug:5575970
1. The cancel button of the background replacer message should be on the bottom.
2. The location of recording timer was too low in the landscape mode.
3. Fix the animation of the setting popup.
Change-Id: Ia2345e72efc0118cd0172af4bd6243815c602493
Diffstat (limited to 'res/anim/setting_popup_shrink_fade_out.xml')
-rw-r--r-- | res/anim/setting_popup_shrink_fade_out.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/res/anim/setting_popup_shrink_fade_out.xml b/res/anim/setting_popup_shrink_fade_out.xml new file mode 100644 index 0000000..8b35b1b --- /dev/null +++ b/res/anim/setting_popup_shrink_fade_out.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/common/res/anim/fade_out.xml +** +** Copyright 2007, 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="0.9" + android:fromYScale="1.0" android:toYScale="0.9" + android:pivotX="50%" 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> |