diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-09-30 12:57:45 -0700 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2012-09-30 13:00:17 -0700 |
commit | 0aaf8fb8b86cbf6353937c12f377ad524661c553 (patch) | |
tree | a071abe30932c3961f6805a7e2bb08fc97ccbb48 /src/com/android/gallery3d/app/PhotoPageBottomControls.java | |
parent | 207b73bafea60a79fde5e3323e87441762e4b6ed (diff) | |
download | android_packages_apps_Gallery2-0aaf8fb8b86cbf6353937c12f377ad524661c553.tar.gz android_packages_apps_Gallery2-0aaf8fb8b86cbf6353937c12f377ad524661c553.tar.bz2 android_packages_apps_Gallery2-0aaf8fb8b86cbf6353937c12f377ad524661c553.zip |
Update FX/pano button appearance, placement, animation
Bug: 7213162
Bug: 7233446
Change-Id: Ief62e3f17ee08999a23656217dcf39bb91421d1e
Diffstat (limited to 'src/com/android/gallery3d/app/PhotoPageBottomControls.java')
-rw-r--r-- | src/com/android/gallery3d/app/PhotoPageBottomControls.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPageBottomControls.java b/src/com/android/gallery3d/app/PhotoPageBottomControls.java index 8ba4818db..40588e128 100644 --- a/src/com/android/gallery3d/app/PhotoPageBottomControls.java +++ b/src/com/android/gallery3d/app/PhotoPageBottomControls.java @@ -51,8 +51,8 @@ public class PhotoPageBottomControls implements OnClickListener { private static final int CONTROL_ANIM_DURATION_MS = 150; private static Animation getControlAnimForVisibility(boolean visible) { - Animation anim = visible ? new ScaleAnimation(0, 1, 1, 1) - : new ScaleAnimation(1, 0, 1, 1); + Animation anim = visible ? new AlphaAnimation(0f, 1f) + : new AlphaAnimation(1f, 0f); anim.setDuration(CONTROL_ANIM_DURATION_MS); return anim; } |