@Override
    public void onRequestPermissionsResult(int requestCode, @NonNull String permissions[], @NonNull int[] grantResults) {
        capture.onRequestPermissionsResult(requestCode, permissions, grantResults);
    }
Override to use a different layout.

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