summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2012-10-26 17:30:01 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-26 17:30:02 -0700
commit591974bceb89bccf3376a7c424017e847eca61df (patch)
treea6c2462487144a0b2d8a5a001980a6e8ad499b85 /src
parentb6d494925ea14a02ef75f58d5d969d7586914ef7 (diff)
parentc4384338502ed85618095f0672b5926659acab20 (diff)
downloadandroid_packages_apps_Gallery2-591974bceb89bccf3376a7c424017e847eca61df.tar.gz
android_packages_apps_Gallery2-591974bceb89bccf3376a7c424017e847eca61df.tar.bz2
android_packages_apps_Gallery2-591974bceb89bccf3376a7c424017e847eca61df.zip
Merge "Show panoViewer icon after "Back" from viewer" into gb-ub-photos-arches
Diffstat (limited to 'src')
-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() {