title: how to customize CameraView for android ZBar QrCode Reader
body: <p>I am using Zbar for reading QRCode. I use this <a href="https://github.com/DushyanthMaguluru/ZBarScanner" rel="noreferrer">https://github.com/DushyanthMaguluru/ZBarScanner</a> example for my activity. 
  The Question is how can I show cameraView on my FrameLayout ?</p>
  
  <p>EDIT:
     <pre>
          @Override
      public void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);</p>
  
  <pre><code>    setContentView(R.layout.main);
      //setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
      mCamera = getCameraInstance();
  
      if(!isCameraAvailable())
      {
          cancelRequest();
          return;
      }
  
      requestWindowFeature(Window.FEATURE_NO_TITLE);
      getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
  
      mAutoFocusHandler = new Handler();
  
      setupScanner();
  
      mPreview = new CameraPreview(this, this, autoFocusCB);
      //setContentView(mPreview);
      FrameLayout preview = (FrameLayout)findViewById(R.id.cameraPreview);
      preview.addView(mPreview);
  }
  </code></pre>
  
  <p></pre></p>