title: How to make full size view when using TextureView in android?
body: <p>I have developed a camera app using ,latest Camera 2 API,the camera preview is set to a Texture view, I set both width and height as Match_parent ,is there any other attributes needed to set ?how can I set the camera preview  in a full screen view??I am a beginner, I don't know how to set this,can anybody help??</p>
  
  <pre><code>   &lt;TextureView
          android:id="@+id/texture"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
  
           /&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/8prkk.jpg" alt="This is the screen shot of my screen,I want to make it full screen"></p>