title: Get access to Zxing QR scanner camera view
body: <p>I am new to android development and I am working on an android project where I have to integrate QR scanner. So I thought I would integrate Zxing QR scanner and came across this library <a href="https://github.com/dm77/barcodescanner" rel="nofollow">https://github.com/dm77/barcodescanner</a>, Following the instructions provided I have successfully integrated and scanned a QR as well.
  Now I want to customise the camera view. The problem is there is no documentation on how to get access to the camera layout. Since I am new I might be missing something.</p>
  
  <p>I have read through many Zxing related threads but I din find any solution.</p>
  
  <p>Any help will be greatly appreciated either by letting me know on how I can get access to the camera view or pointing me out to some articles. Once I know how then I can complete the rest.</p>
  
  <p>I would be happy to provide any further information.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Update:</p>
  
  <pre><code>public class QrScanActivity extends BaseActivity implements ZXingScannerView.ResultHandler {
      private ZXingScannerView mScannerView;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_my_scan);
  
          // Programmatically initialize the scanner view
          mScannerView = new ZXingScannerView(this);
          // Set the scanner view as the content view
          setContentView(mScannerView);
      }
  </code></pre>
  
  <p><code>mScannerView</code> is the view from the library. I want to get access to that view. I have a view called as <code>activity_my_scan</code>. I can add custom layout to that and use that but I don't know how to bypass the layout being used by the library.</p>