105 lines
3.6 KiB
XML
105 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<io.beid.beidk.ui.camera.CameraSourcePreview
|
|
id="@+id/preview"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
layout_alignParentTop="true"
|
|
layout_alignParentStart="true"/>
|
|
<ImageView
|
|
id="@+id/noFaceFoundImageView"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
elevation="0dp">
|
|
<io.beid.beidk.view.JHFaceMaskView
|
|
id="@+id/circleOverlayView"
|
|
paddingTop="30dp"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
layout_weight="1"
|
|
layout_alignParentBottom="true"
|
|
layout_centerHorizontal="true"
|
|
alpha="0.85"
|
|
paddingStart="30sp"
|
|
NOT_FOUND_0x1e="#353239"/>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
background="#353239"
|
|
layout_width="match_parent"
|
|
layout_height="120dp"
|
|
layout_weight="1"
|
|
alpha="0.85">
|
|
<RelativeLayout
|
|
id="@+id/captureButtonLayout"
|
|
background="#353239"
|
|
padding="10dp"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
layout_weight="1"
|
|
layout_alignParentBottom="true"
|
|
alpha="0.85">
|
|
<Button
|
|
textSize="25sp"
|
|
textColor="@android:color/white"
|
|
id="@+id/captureBtn"
|
|
background="#7f2bc8"
|
|
clickable="true"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
text="@string/start"/>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<ImageView
|
|
id="@+id/mediaimage"
|
|
visibility="invisible"
|
|
layout_width="match_parent"
|
|
layout_height="70dp"
|
|
layout_marginTop="45dp"
|
|
layout_marginBottom="50dp"
|
|
src="@drawable/face"
|
|
layout_weight="1"
|
|
layout_alignParentBottom="false"/>
|
|
<TextView
|
|
textSize="16sp"
|
|
textColor="@android:color/white"
|
|
gravity="top|center_horizontal"
|
|
id="@+id/captureTextDefaultTextView"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginLeft="60dp"
|
|
layout_marginRight="60dp"
|
|
layout_marginBottom="70dp"
|
|
text="@string/captureDefault"
|
|
layout_weight="1"
|
|
layout_above="@+id/captureButtonLayout"
|
|
layout_alignParentBottom="true"
|
|
layout_centerHorizontal="true"
|
|
textAlignment="center"/>
|
|
<TextView
|
|
textSize="18sp"
|
|
textStyle="normal"
|
|
textColor="@android:color/white"
|
|
id="@+id/capture_fragment_txt_countdown"
|
|
visibility="invisible"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="15dp"
|
|
layout_alignParentTop="true"
|
|
layout_centerInParent="true"
|
|
textAlignment="center"/>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
id="@+id/layoutBlackOut"
|
|
background="#000000"
|
|
visibility="invisible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"/>
|
|
</RelativeLayout>
|