添加了界面及逻辑
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:background="#14141E"
|
||||
android:orientation="vertical"
|
||||
android:fitsSystemWindows="false"
|
||||
tools:context=".activity.LoginByFaceActivity">
|
||||
|
||||
<include
|
||||
@@ -22,7 +23,7 @@
|
||||
android:id="@+id/tv_tip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="159dp"
|
||||
android:layout_marginTop="129dp"
|
||||
android:text="请正视屏幕"
|
||||
android:textColor="#fff0c8b4"
|
||||
android:textSize="36sp" />
|
||||
@@ -34,9 +35,19 @@
|
||||
android:padding="10dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<androidx.camera.view.PreviewView
|
||||
android:id="@+id/previewView"
|
||||
android:layout_margin="10dp"
|
||||
<!-- <androidx.camera.view.PreviewView-->
|
||||
<!-- android:id="@+id/previewView"-->
|
||||
<!-- android:layout_margin="10dp"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="match_parent" />-->
|
||||
|
||||
<TextureView
|
||||
android:id="@+id/dual_camera_texture_preview_rgb"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<com.sw.plate.utils.arcface.FaceRectView
|
||||
android:id="@+id/dual_camera_face_rect_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user