title: How to set the surface view camera background with corner
body: <p>My app uses a camera surface view layout with a size of 150 X 150.  I need to show the surface corner is arc type. how to set the corner in camera.</p>
  
  <pre><code>&lt;LinearLayout
      android:id="@+id/recordView"
      android:layout_width="100dp"
      android:layout_height="150dp"
      android:layout_alignParentBottom="true"
      android:layout_alignParentRight="true"
      android:layout_marginBottom="50dp"
      android:layout_marginRight="25dp" 
      android:background="@drawable/customshape"&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>customshape:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; 
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" 
   android:shape="rectangle"&gt; 
   &lt;gradient android:startColor="#FFFFFF" android:endColor="#FFFFFF"         android:angle="270"/&gt; 
  
  &lt;corners android:bottomRightRadius="50dp" android:bottomLeftRadius="50dp" 
   android:topLeftRadius="50dp" android:topRightRadius="50dp"/&gt; 
  </code></pre>
  
  <p> </p>
  
  <p>this layout add the camera activity but record start show the rectangle view</p>