Google vision API Bar code Scanner remove camera view : Currently I am developing a bar code reader android app with Google vision API. I need to start camera preview when button click and until the button click screen should be empty white color screen. When i Try to do this camera preview start the same time screen appear how to solve this problem please help me. 

[![Screen before Start scanner][1]][1]

[![Screen After start Scanner][2]][2]


  [1]: https://i.stack.imgur.com/1vQTv.png
  [2]: https://i.stack.imgur.com/OkJ2k.png