From 1d5fda98a8d6bb28ef3eafb1fc0f24152a91560e Mon Sep 17 00:00:00 2001 From: George Mount Date: Tue, 23 Oct 2012 09:33:20 -0700 Subject: Ensure photo sphere icon shows for panoramas. Bug 7393844 Change-Id: Id3b0d15606ec6e5d41558cbfc5089c4b1b229c63 --- src/com/android/gallery3d/app/PhotoPageBottomControls.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/com/android/gallery3d/app/PhotoPageBottomControls.java b/src/com/android/gallery3d/app/PhotoPageBottomControls.java index f416fe52f..415111fb9 100644 --- a/src/com/android/gallery3d/app/PhotoPageBottomControls.java +++ b/src/com/android/gallery3d/app/PhotoPageBottomControls.java @@ -116,6 +116,7 @@ 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); } } -- cgit v1.2.3