From bdd198ee9047fc180b8e97e1c3a76132256fd36c Mon Sep 17 00:00:00 2001 From: Doris Liu Date: Thu, 29 Aug 2013 18:06:45 -0700 Subject: Fix gap between camera controls and nav bar Bug: 10097187 Change-Id: I9918a09a1e0b2d3c5a89330b800a9b7f2c2a6408 --- src/com/android/camera/VideoUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java index 74d4cea9b..ad42b1aa0 100644 --- a/src/com/android/camera/VideoUI.java +++ b/src/com/android/camera/VideoUI.java @@ -168,7 +168,7 @@ public class VideoUI implements PieRenderer.PieListener, mActivity.getLayoutInflater().inflate(R.layout.video_module, (ViewGroup) mRootView, true); mTextureView = (TextureView) mRootView.findViewById(R.id.preview_content); mTextureView.setSurfaceTextureListener(this); - mRootView.addOnLayoutChangeListener(mLayoutListener); + mTextureView.addOnLayoutChangeListener(mLayoutListener); ((CameraRootView) mRootView).setDisplayChangeListener(this); mFlashOverlay = mRootView.findViewById(R.id.flash_overlay); mShutterButton = (ShutterButton) mRootView.findViewById(R.id.shutter_button); -- cgit v1.2.3