diff options
Diffstat (limited to 'src/com/android/camera/VideoUI.java')
-rw-r--r-- | src/com/android/camera/VideoUI.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java index fc4243457..029dda9f5 100644 --- a/src/com/android/camera/VideoUI.java +++ b/src/com/android/camera/VideoUI.java @@ -261,8 +261,10 @@ public class VideoUI extends BaseUI implements PieRenderer.PieListener, if (mController.isVideoCaptureIntent()) { hideSwitcher(); - mActivity.getLayoutInflater().inflate(R.layout.review_module_control, - (ViewGroup) mCameraControls); + + ViewStub reviewStub = (ViewStub) mRootView.findViewById(R.id.review_control_stub); + reviewStub.inflate(); + // Cannot use RotateImageView for "done" and "cancel" button because // the tablet layout uses RotateLayout, which cannot be cast to // RotateImageView. |