summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2012-10-26 17:17:17 -0700
committerDoris Liu <tianliu@google.com>2012-10-26 17:17:17 -0700
commitc4384338502ed85618095f0672b5926659acab20 (patch)
tree4531cd960bc4869a98b1c86e1f869dade164666b /src/com
parent88870365af146d05162742c5f613fc92483b0a93 (diff)
downloadandroid_packages_apps_Gallery2-c4384338502ed85618095f0672b5926659acab20.tar.gz
android_packages_apps_Gallery2-c4384338502ed85618095f0672b5926659acab20.tar.bz2
android_packages_apps_Gallery2-c4384338502ed85618095f0672b5926659acab20.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.java3
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() {