diff options
author | Doris Liu <tianliu@google.com> | 2012-10-26 17:17:17 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2012-10-26 17:17:17 -0700 |
commit | 4e11131e1e8408e5a8803d6289a2bc55a150b3c7 (patch) | |
tree | afdb85176c81a05efc3b6d9bd227892615cf3be2 /src/com | |
parent | 3b6743cb518f090d7c3ac427122e54122ad85ce6 (diff) | |
download | android_packages_apps_Snap-4e11131e1e8408e5a8803d6289a2bc55a150b3c7.tar.gz android_packages_apps_Snap-4e11131e1e8408e5a8803d6289a2bc55a150b3c7.tar.bz2 android_packages_apps_Snap-4e11131e1e8408e5a8803d6289a2bc55a150b3c7.zip |
Show panoViewer icon after "Back" from viewer
Bug: 7407942
Change-Id: I00da3c73a558e412e106f089034e83f2e75616e4
Diffstat (limited to 'src/com')
-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() { |