title: How can I use scan QR Code with a camera inside the layout (like Whatsapp Web scanner)
body: <p>I'm developer but new in Android and I need to know how can I use camera inside a Activity Layout.</p>
  
  <p>I know I need to use Surface View to insert camera inside an activity and currently my app is reading QR Codes with Google Vision using default camera (a button opens camera, the user takes the photo and my app perceive the activity result).</p>
  
  <p>But I really need to implementation that function inside app with real-time scanner.</p>
  
  <p>Someone can direct me?</p>