diff options
author | Doris Liu <tianliu@google.com> | 2012-10-26 17:32:33 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-10-26 17:32:33 -0700 |
commit | 64c89d738dae9b6b05b116861c40cf36fada477c (patch) | |
tree | 712a14883cee88c5a2da40758e27d7010d549cfe | |
parent | ddb06d2f9df30e6ee966a4741781ff7ea6872568 (diff) | |
parent | 3b74d96d94cc8d3c89cd0f61824bda63e8b0ac94 (diff) | |
download | android_packages_apps_Snap-64c89d738dae9b6b05b116861c40cf36fada477c.tar.gz android_packages_apps_Snap-64c89d738dae9b6b05b116861c40cf36fada477c.tar.bz2 android_packages_apps_Snap-64c89d738dae9b6b05b116861c40cf36fada477c.zip |
am 591974bc: Merge "Show panoViewer icon after "Back" from viewer" into gb-ub-photos-arches
* commit '591974bceb89bccf3376a7c424017e847eca61df':
Show panoViewer icon after "Back" from viewer
-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() { |