| <?xml version="1.0" encoding="utf-8"?> | 
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 
|     android:layout_width="match_parent" | 
|     android:layout_height="match_parent" | 
|     android:background="#121212" | 
|     android:orientation="vertical"> | 
|   | 
|     <LinearLayout | 
|         android:id="@+id/linerbarcameradisplay" | 
|         android:layout_width="match_parent" | 
|         android:layout_height="56dp" | 
|         android:gravity="center_horizontal" | 
|         android:orientation="horizontal"> | 
|   | 
|         <RelativeLayout | 
|             android:layout_width="match_parent" | 
|             android:layout_height="56dp" | 
|             android:gravity="center_vertical"> | 
|   | 
|             <ImageView | 
|                 android:id="@+id/cda_save" | 
|                 android:layout_width="30dp" | 
|                 android:layout_height="30dp" | 
|                 android:scaleType="centerInside" | 
|                 android:layout_marginLeft="20dp" | 
|                 android:background="@mipmap/ic_return" /> | 
|   | 
|             <TextView | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:gravity="center" | 
|                 android:text="人脸检测角度" | 
|                 android:textColor="@color/white" | 
|                 android:textSize="25dp" /> | 
|         </RelativeLayout> | 
|     </LinearLayout> | 
|   | 
|     <View | 
|         android:layout_width="match_parent" | 
|         android:layout_height="0.3dp" | 
|         android:background="#333333"></View> | 
|   | 
|     <ScrollView | 
|         android:layout_width="match_parent" | 
|         android:layout_height="wrap_content"> | 
|   | 
|         <LinearLayout | 
|             android:layout_width="match_parent" | 
|             android:layout_height="wrap_content" | 
|             android:alpha="0.9" | 
|             android:orientation="vertical"> | 
|   | 
|             <LinearLayout | 
|                 android:id="@+id/linercameradisplay" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="wrap_content" | 
|                 android:layout_marginLeft="30dp" | 
|                 android:layout_marginTop="30dp" | 
|                 android:gravity="center_vertical" | 
|                 android:orientation="horizontal"> | 
|   | 
|                 <TextView | 
|                     android:id="@+id/tvcameradisplay" | 
|                     android:layout_width="wrap_content" | 
|                     android:layout_height="wrap_content" | 
|                     android:text="识别模态" | 
|                     android:textColor="#999999" | 
|                     android:textSize="21dp" /> | 
|   | 
|             </LinearLayout> | 
|             <LinearLayout | 
|                 android:id="@+id/rgb_group" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="220dp" | 
|                 android:layout_marginTop="15dp" | 
|                 android:layout_marginLeft="30dp" | 
|                 android:layout_marginRight="30dp" | 
|                 android:orientation="horizontal" | 
|                 android:background="@drawable/sr_liner_rectangle"> | 
|                 <RelativeLayout | 
|                     android:id="@+id/rbg_face_group" | 
|                     android:layout_width="190dp" | 
|                     android:layout_height="190dp" | 
|                     android:layout_marginTop="15dp" | 
|                     android:layout_marginLeft="15dp" | 
|                     android:layout_centerHorizontal="true" | 
|                     android:background="@drawable/sr_texture_rectangle"> | 
|                     <com.example.datalibrary.gatecamera.AutoTexturePreviewView | 
|                         android:alpha="0" | 
|                         android:id="@+id/rbg_face_view" | 
|                         android:layout_width="142.5dp" | 
|                         android:layout_height="190dp" | 
|                         android:layout_centerInParent="true"/> | 
|                     <ImageView | 
|                         android:id="@+id/rbg_image_view" | 
|                         android:layout_width="match_parent" | 
|                         android:layout_height="match_parent" | 
|                         android:scaleType="centerInside" | 
|                         android:layout_centerInParent="true"/> | 
|                     /> | 
|                 </RelativeLayout> | 
|                 <RelativeLayout | 
|                     android:layout_width="match_parent" | 
|                     android:layout_height="match_parent"> | 
|                     <LinearLayout | 
|                         android:layout_width="wrap_content" | 
|                         android:layout_height="wrap_content" | 
|                         android:layout_centerInParent="true" | 
|                         android:orientation="vertical" | 
|                         > | 
|                         <RelativeLayout | 
|                             android:id="@+id/rgb_rotate" | 
|                             android:layout_width="139dp" | 
|                             android:layout_height="65dp" | 
|                             android:background="@drawable/sr_but_rectangle"> | 
|                             <LinearLayout | 
|                                 android:layout_width="wrap_content" | 
|                                 android:layout_height="wrap_content" | 
|                                 android:layout_centerInParent="true" | 
|                                 android:gravity="center" | 
|                                 > | 
|   | 
|                                 <ImageView | 
|                                     android:id="@+id/rgb_rotate_image" | 
|                                     android:layout_width="33dp" | 
|                                     android:layout_height="33dp" | 
|                                     android:src="@mipmap/rotate_0" | 
|                                     android:scaleType="fitXY" | 
|                                     /> | 
|                                 <TextView | 
|                                     android:id="@+id/rgb_rotate_tx" | 
|                                     android:layout_width="wrap_content" | 
|                                     android:layout_height="wrap_content" | 
|                                     android:text="旋转" | 
|                                     android:textSize="27dp" | 
|                                     android:textColor="@color/white" | 
|                                     android:layout_marginLeft="12dp" | 
|                                     /> | 
|   | 
|                             </LinearLayout> | 
|                         </RelativeLayout> | 
|   | 
|                         <RelativeLayout | 
|                             android:id="@+id/rgb_mirror" | 
|                             android:layout_width="139dp" | 
|                             android:layout_height="65dp" | 
|                             android:layout_marginTop="30dp" | 
|                             android:background="@drawable/sr_but_rectangle"> | 
|                             <LinearLayout | 
|                                 android:layout_width="wrap_content" | 
|                                 android:layout_height="wrap_content" | 
|                                 android:layout_centerInParent="true" | 
|                                 android:gravity="center" | 
|                                 > | 
|   | 
|                                 <ImageView | 
|                                     android:id="@+id/rgb_mirror_image" | 
|                                     android:layout_width="33dp" | 
|                                     android:layout_height="33dp" | 
|                                     android:src="@mipmap/mirror_close" | 
|                                     android:scaleType="fitXY" | 
|                                     /> | 
|                                 <TextView | 
|                                     android:id="@+id/rgb_mirror_tx" | 
|                                     android:layout_width="wrap_content" | 
|                                     android:layout_height="wrap_content" | 
|                                     android:text="镜像" | 
|                                     android:textSize="27dp" | 
|                                     android:textColor="@color/white" | 
|                                     android:layout_marginLeft="12dp" | 
|                                     /> | 
|   | 
|                             </LinearLayout> | 
|                         </RelativeLayout> | 
|                     </LinearLayout> | 
|                 </RelativeLayout> | 
|             </LinearLayout> | 
|   | 
|   | 
|             <TextView | 
|                 android:id="@+id/nir_tx" | 
|                 android:layout_marginLeft="30dp" | 
|                 android:layout_marginTop="30dp" | 
|                 android:layout_width="wrap_content" | 
|                 android:layout_height="wrap_content" | 
|                 android:text="NIR镜头" | 
|                 android:textColor="#999999" | 
|                 android:textSize="21dp" /> | 
|   | 
|             <LinearLayout | 
|                 android:id="@+id/nir_group" | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="220dp" | 
|                 android:layout_marginTop="15dp" | 
|                 android:layout_marginLeft="30dp" | 
|                 android:layout_marginRight="30dp" | 
|                 android:orientation="horizontal" | 
|                 android:background="@drawable/sr_liner_rectangle"> | 
|                 <RelativeLayout | 
|                     android:id="@+id/nir_face_group" | 
|                     android:layout_width="190dp" | 
|                     android:layout_height="190dp" | 
|                     android:layout_marginTop="15dp" | 
|                     android:layout_marginLeft="15dp" | 
|                     android:layout_centerHorizontal="true" | 
|                     android:background="@drawable/sr_texture_rectangle"> | 
|                     <com.example.datalibrary.gatecamera.AutoTexturePreviewView | 
|                         android:alpha="0" | 
|                         android:id="@+id/nir_face_view" | 
|                         android:layout_width="142.5dp" | 
|                         android:layout_height="190dp" | 
|                         android:layout_centerInParent="true"/> | 
|                     /> | 
|                     <ImageView | 
|                         android:id="@+id/nir_image_view" | 
|                         android:layout_width="match_parent" | 
|                         android:layout_height="match_parent" | 
|                         android:scaleType="centerInside" | 
|                         android:layout_centerInParent="true"/> | 
|                 </RelativeLayout> | 
|                 <RelativeLayout | 
|                     android:layout_width="match_parent" | 
|                     android:layout_height="match_parent"> | 
|                     <LinearLayout | 
|                         android:layout_width="wrap_content" | 
|                         android:layout_height="wrap_content" | 
|                         android:layout_centerInParent="true" | 
|                         android:orientation="vertical" | 
|                         > | 
|                         <RelativeLayout | 
|   | 
|                             android:id="@+id/nir_rotate" | 
|                             android:layout_width="139dp" | 
|                             android:layout_height="65dp" | 
|                             android:background="@drawable/sr_but_rectangle"> | 
|                             <LinearLayout | 
|                                 android:layout_width="wrap_content" | 
|                                 android:layout_height="wrap_content" | 
|                                 android:layout_centerInParent="true" | 
|                                 android:gravity="center" | 
|                                 > | 
|   | 
|                                 <ImageView | 
|                                     android:id="@+id/nir_rotate_image" | 
|                                     android:layout_width="33dp" | 
|                                     android:layout_height="33dp" | 
|                                     android:src="@mipmap/rotate_0" | 
|                                     android:scaleType="fitXY" | 
|                                     /> | 
|                                 <TextView | 
|                                     android:id="@+id/nir_rotate_tx" | 
|                                     android:layout_width="wrap_content" | 
|                                     android:layout_height="wrap_content" | 
|                                     android:text="旋转" | 
|                                     android:textSize="27dp" | 
|                                     android:textColor="@color/white" | 
|                                     android:layout_marginLeft="12dp" | 
|                                     /> | 
|   | 
|                             </LinearLayout> | 
|                         </RelativeLayout> | 
|   | 
|                         <RelativeLayout | 
|                             android:id="@+id/nir_mirror" | 
|                             android:layout_width="139dp" | 
|                             android:layout_height="65dp" | 
|                             android:layout_marginTop="30dp" | 
|                             android:background="@drawable/sr_but_rectangle"> | 
|                             <LinearLayout | 
|                                 android:layout_width="wrap_content" | 
|                                 android:layout_height="wrap_content" | 
|                                 android:layout_centerInParent="true" | 
|                                 android:gravity="center" | 
|                                 > | 
|   | 
|                                 <ImageView | 
|                                     android:id="@+id/nir_mirror_image" | 
|                                     android:layout_width="33dp" | 
|                                     android:layout_height="33dp" | 
|                                     android:src="@mipmap/mirror_close" | 
|                                     android:scaleType="fitXY"/> | 
|                                 <TextView | 
|                                     android:id="@+id/nir_mirror_tx" | 
|                                     android:layout_width="wrap_content" | 
|                                     android:layout_height="wrap_content" | 
|                                     android:text="镜像" | 
|                                     android:textSize="27dp" | 
|                                     android:textColor="@color/white" | 
|                                     android:layout_marginLeft="12dp" | 
|                                     /> | 
|   | 
|                             </LinearLayout> | 
|                         </RelativeLayout> | 
|                     </LinearLayout> | 
|                 </RelativeLayout> | 
|             </LinearLayout> | 
|             <RelativeLayout | 
|                 android:layout_width="match_parent" | 
|                 android:layout_height="match_parent"> | 
|   | 
|                 <TextView | 
|                     android:id="@+id/logo_text" | 
|                     android:layout_width="match_parent" | 
|                     android:layout_height="wrap_content" | 
|                     android:layout_alignParentBottom="true" | 
|                     android:layout_marginBottom="23dp" | 
|                     android:alpha="0.4" | 
|                     android:gravity="center_horizontal" | 
|                     android:text="— 百度大脑技术支持 —" | 
|                     android:textColor="#666666" | 
|                     android:textSize="@dimen/bottom_font" /> | 
|             </RelativeLayout> | 
|         </LinearLayout> | 
|   | 
|     </ScrollView> | 
|   | 
|   | 
| </LinearLayout> |