|
@@ -129,38 +129,46 @@
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent" />
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
- <ImageView
|
|
|
|
|
|
|
+ <com.grkj.shared.widget.FaceOverlayView
|
|
|
|
|
+ android:id="@+id/face_overlay_view"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:scaleType="fitXY"
|
|
|
|
|
- android:src="@drawable/mask_vector_circle" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/count_down_tip"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_gravity="center|bottom"
|
|
|
|
|
- android:layout_marginBottom="@dimen/common_spacing"
|
|
|
|
|
- android:textColor="@color/dialogxColorBlue"
|
|
|
|
|
- android:textSize="@dimen/common_text_size_big"
|
|
|
|
|
- android:textStyle="bold"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- android:text="@string/detect_face_tip"
|
|
|
|
|
- tools:text="检测到人脸,即将拍摄" />
|
|
|
|
|
|
|
+ android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tip_tv"
|
|
|
|
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/only_one_person_allowed"
|
|
|
|
|
- android:textColor="@color/common_status_red"
|
|
|
|
|
- android:textSize="@dimen/common_text_size_big"
|
|
|
|
|
- android:layout_gravity="center|bottom"
|
|
|
|
|
- android:layout_marginBottom="@dimen/common_spacing"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- tools:text="请保证画面中只有自己" />
|
|
|
|
|
|
|
+ android:layout_gravity="bottom"
|
|
|
|
|
+ android:background="@color/common_transparent_half">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/count_down_tip"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/detect_face_tip"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:textColor="@color/dialogxColorBlue"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size_big"
|
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ tools:text="检测到人脸,即将拍摄" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tip_tv"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:layout_marginBottom="@dimen/common_spacing"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/only_one_person_allowed"
|
|
|
|
|
+ android:textColor="@color/common_status_red"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size_big"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ tools:text="请保证画面中只有自己" />
|
|
|
|
|
+ </FrameLayout>
|
|
|
</FrameLayout>
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|