summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android')
-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() {