@Override
    protected void onPause() {
        super.onPause();
        capture.onPause();
    }
Override to use a different layout.

@return the DecoratedBarcodeView
zxing-android-embedded/src/com/journeyapps/barcodescanner/CaptureActivity.java