diff options
author | Doris Liu <tianliu@google.com> | 2012-10-26 17:30:01 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-10-26 17:30:02 -0700 |
commit | 3b74d96d94cc8d3c89cd0f61824bda63e8b0ac94 (patch) | |
tree | 3bb0561e167e1a57d6a16eb07bb7aefaaceb3145 | |
parent | 3bf329fbf1d314f3e1f219cff60b098e7c81452f (diff) | |
parent | 4e11131e1e8408e5a8803d6289a2bc55a150b3c7 (diff) | |
download | android_packages_apps_Snap-3b74d96d94cc8d3c89cd0f61824bda63e8b0ac94.tar.gz android_packages_apps_Snap-3b74d96d94cc8d3c89cd0f61824bda63e8b0ac94.tar.bz2 android_packages_apps_Snap-3b74d96d94cc8d3c89cd0f61824bda63e8b0ac94.zip |
Merge "Show panoViewer icon after "Back" from viewer" into gb-ub-photos-arches
-rw-r--r-- | src/com/android/gallery3d/app/PhotoPageBottomControls.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPageBottomControls.java b/src/com/android/gallery3d/app/PhotoPageBottomControls.java index 415111fb9..24b8ceb7e 100644 --- a/src/com/android/gallery3d/app/PhotoPageBottomControls.java +++ b/src/com/android/gallery3d/app/PhotoPageBottomControls.java @@ -116,10 +116,11 @@ public class PhotoPageBottomControls implements OnClickListener { control.startAnimation(getControlAnimForVisibility(curVisibility)); } control.setVisibility(curVisibility ? View.VISIBLE : View.INVISIBLE); - control.requestLayout(); // Kick framework to draw the control. mControlsVisible.put(control, curVisibility); } } + // Force a layout change + mContainer.requestLayout(); // Kick framework to draw the control. } public void cleanup() { |