325 lines
14 KiB
XML
325 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<RelativeLayout
|
|
id="@+id/parentLayout"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<RelativeLayout
|
|
id="@+id/cameraLayout"
|
|
visibility="invisible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<RelativeLayout
|
|
id="@+id/cameraContainer"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"/>
|
|
<com.facetec.sdk.bd
|
|
id="@+id/focusAnimationView"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"/>
|
|
<RelativeLayout
|
|
id="@+id/cameraTransitionView"
|
|
background="@android:color/white"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
alpha="0"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
id="@+id/parentInterfaceLayout"
|
|
visibility="invisible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<RelativeLayout
|
|
id="@+id/shutterEffectContainer"
|
|
background="#000000"
|
|
visibility="invisible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"/>
|
|
<ImageView
|
|
id="@+id/reviewImageView"
|
|
visibility="invisible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
layout_centerInParent="true"
|
|
layout_centerHorizontal="true"/>
|
|
<RelativeLayout
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
alpha="1">
|
|
<view
|
|
id="@+id/idCaptureFrameView"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
class="com.facetec.sdk.bj"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
id="@+id/croppedFrame"
|
|
visibility="invisible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
layout_centerInParent="true"
|
|
layout_centerHorizontal="true"/>
|
|
<RelativeLayout
|
|
id="@+id/focusMessageContainer"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<com.facetec.sdk.au
|
|
textSize="10sp"
|
|
textColor="#66000000"
|
|
id="@+id/tapToFocusMessageText"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_centerInParent="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_below="@+id/focusMessageContainer"
|
|
layout_centerHorizontal="true">
|
|
<ImageView
|
|
id="@+id/mainBrandingImageView"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="30dp"
|
|
layout_marginTop="20dp"
|
|
scaleType="fitCenter"
|
|
layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
id="@+id/instructionsContainer"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<com.facetec.sdk.au
|
|
textSize="16sp"
|
|
textColor="@android:color/white"
|
|
gravity="center"
|
|
id="@+id/reviewInstructionsText"
|
|
background="@drawable/facetec_idscan_review_instructions_background"
|
|
padding="10dp"
|
|
visibility="invisible"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_centerInParent="true"/>
|
|
<com.facetec.sdk.au
|
|
textSize="16sp"
|
|
textColor="@android:color/white"
|
|
gravity="center"
|
|
id="@+id/captureInstructionsText"
|
|
background="@drawable/facetec_idscan_capture_instructions_background"
|
|
padding="10dp"
|
|
layout_width="wrap_content"
|
|
layout_height="wrap_content"
|
|
layout_centerInParent="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
gravity="center_horizontal"
|
|
id="@+id/interfaceButtonLayout"
|
|
layout_width="match_parent"
|
|
layout_height="60dp"
|
|
layout_marginLeft="20dp"
|
|
layout_marginRight="20dp"
|
|
layout_marginBottom="20dp"
|
|
layout_alignParentBottom="true"
|
|
layout_centerHorizontal="true">
|
|
<com.facetec.sdk.a
|
|
textSize="20sp"
|
|
textColor="@drawable/facetec_button_text_state"
|
|
id="@+id/takePictureButton"
|
|
background="@drawable/facetec_button_background"
|
|
visibility="visible"
|
|
duplicateParentState="false"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
text="Take Photo"
|
|
includeFontPadding="false"
|
|
layout_alignParentBottom="true"
|
|
layout_centerHorizontal="true"
|
|
textAllCaps="false"
|
|
textAlignment="center"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
<LinearLayout
|
|
gravity="center_horizontal"
|
|
orientation="horizontal"
|
|
id="@+id/reviewButtonsContainer"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
layout_alignParentBottom="true">
|
|
<com.facetec.sdk.a
|
|
textSize="20sp"
|
|
textColor="@drawable/facetec_button_text_state"
|
|
id="@+id/retakePictureButton"
|
|
background="@drawable/facetec_button_background"
|
|
layout_width="0dp"
|
|
layout_height="match_parent"
|
|
text="Retake"
|
|
includeFontPadding="false"
|
|
layout_weight="0.5"
|
|
textAllCaps="false"
|
|
textAlignment="center"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
<View
|
|
id="@+id/reviewButtonSeparator"
|
|
layout_width="20dp"
|
|
layout_height="0dp"/>
|
|
<com.facetec.sdk.a
|
|
textSize="20sp"
|
|
textColor="@drawable/facetec_button_text_state"
|
|
id="@+id/acceptPictureButton"
|
|
background="@drawable/facetec_button_background"
|
|
layout_width="0dp"
|
|
layout_height="match_parent"
|
|
text="Accept"
|
|
includeFontPadding="false"
|
|
layout_weight="0.5"
|
|
textAllCaps="false"
|
|
textAlignment="center"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content">
|
|
<ImageView
|
|
gravity="center"
|
|
id="@+id/flashButton"
|
|
padding="10dp"
|
|
focusable="true"
|
|
clickable="true"
|
|
layout_width="40dp"
|
|
layout_height="40dp"
|
|
layout_marginTop="10dp"
|
|
layout_marginBottom="10dp"
|
|
contentDescription="@string/FaceTec_accessibility_torch_button"
|
|
layout_marginStart="10dp"
|
|
layout_marginEnd="10dp"/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
id="@+id/idTypeLayout"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<RelativeLayout
|
|
id="@+id/idTypeLayoutBackground"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"/>
|
|
<RelativeLayout
|
|
id="@+id/idTypeLayoutContent"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/selectionMainLayout"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
layout_above="@+id/selectionButtonLayout"
|
|
alpha="0">
|
|
<LinearLayout
|
|
gravity="center"
|
|
layout_gravity="center_horizontal"
|
|
id="@+id/selectionBrandingImageLayout"
|
|
layout_width="match_parent"
|
|
layout_height="1dp">
|
|
<ImageView
|
|
id="@+id/selectionBrandingImage"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
src="@drawable/facetec_branding_logo_id_check"
|
|
scaleType="fitCenter"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
gravity="center"
|
|
layout_gravity="center_horizontal"
|
|
layout_width="match_parent"
|
|
layout_height="0dp"
|
|
layout_weight="1"/>
|
|
<LinearLayout
|
|
gravity="center"
|
|
layout_gravity="center_horizontal"
|
|
id="@+id/selectionDocumentImageLayout"
|
|
layout_width="match_parent"
|
|
layout_height="1dp">
|
|
<ImageView
|
|
id="@+id/selectionDocumentImage"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
src="@drawable/facetec_document"
|
|
scaleType="fitCenter"/>
|
|
</LinearLayout>
|
|
<com.facetec.sdk.au
|
|
textSize="20sp"
|
|
textColor="#ffffff"
|
|
gravity="center"
|
|
layout_gravity="center"
|
|
id="@+id/selectionHeader"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text=""
|
|
textAlignment="center"/>
|
|
<LinearLayout
|
|
gravity="center"
|
|
layout_gravity="center_horizontal"
|
|
layout_width="match_parent"
|
|
layout_height="0dp"
|
|
layout_weight="1"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
gravity="center_horizontal"
|
|
orientation="vertical"
|
|
id="@+id/selectionButtonLayout"
|
|
layout_width="60dp"
|
|
layout_height="wrap_content"
|
|
layout_marginLeft="20dp"
|
|
layout_marginRight="20dp"
|
|
layout_marginBottom="20dp"
|
|
layout_alignParentBottom="true"
|
|
layout_centerHorizontal="true"
|
|
alpha="0">
|
|
<com.facetec.sdk.a
|
|
textSize="20sp"
|
|
textColor="@drawable/facetec_button_text_state"
|
|
id="@+id/continueButton"
|
|
background="@drawable/facetec_button_background"
|
|
duplicateParentState="false"
|
|
layout_width="match_parent"
|
|
layout_height="60dp"
|
|
text=""
|
|
includeFontPadding="false"
|
|
textAllCaps="false"
|
|
textAlignment="center"
|
|
style="?android:attr/borderlessButtonStyle"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
<ImageView
|
|
gravity="center"
|
|
id="@+id/cancelButton"
|
|
background="@android:color/transparent"
|
|
padding="10dp"
|
|
focusable="true"
|
|
layout_width="40dp"
|
|
layout_height="40dp"
|
|
layout_marginTop="10dp"
|
|
layout_marginBottom="10dp"
|
|
adjustViewBounds="true"
|
|
contentDescription="@string/FaceTec_accessibility_cancel_button"
|
|
alpha="0"
|
|
layout_marginStart="10dp"
|
|
layout_marginEnd="10dp"
|
|
layout_alignParentStart="true"/>
|
|
</RelativeLayout>
|
|
<FrameLayout
|
|
id="@+id/securingCameraFragmentContainer"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
alpha="0"/>
|
|
<RelativeLayout
|
|
id="@+id/mainTransitionView"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
alpha="0"/>
|
|
</RelativeLayout>
|