220 lines
8.5 KiB
XML
220 lines
8.5 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">
|
||
|
<View
|
||
|
id="@+id/zoomResultBackground"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"/>
|
||
|
<com.facetec.sdk.a
|
||
|
textSize="20sp"
|
||
|
textColor="@drawable/facetec_button_text_state"
|
||
|
id="@+id/nfcSkipButton"
|
||
|
background="@drawable/facetec_button_background"
|
||
|
visibility="gone"
|
||
|
duplicateParentState="false"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="50dp"
|
||
|
includeFontPadding="false"
|
||
|
layout_alignParentBottom="true"
|
||
|
alpha="0"
|
||
|
textAllCaps="false"
|
||
|
textAlignment="center"
|
||
|
style="?android:attr/borderlessButtonStyle"/>
|
||
|
<RelativeLayout
|
||
|
id="@+id/zoomResultContainer"
|
||
|
visibility="visible"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"
|
||
|
alpha="0"
|
||
|
translationY="-55dp">
|
||
|
<RelativeLayout
|
||
|
id="@+id/progressBarLayout"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<ImageView
|
||
|
layout_gravity="center"
|
||
|
id="@+id/activityIndicatorImageView"
|
||
|
visibility="invisible"
|
||
|
layout_width="80dp"
|
||
|
layout_height="80dp"
|
||
|
layout_centerInParent="true"
|
||
|
importantForAccessibility="no"/>
|
||
|
<RelativeLayout
|
||
|
id="@+id/nfcLayout"
|
||
|
visibility="invisible"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"
|
||
|
importantForAccessibility="noHideDescendants">
|
||
|
<ImageView
|
||
|
id="@+id/nfcIcon"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="130dp"
|
||
|
layout_centerInParent="true"/>
|
||
|
<com.facetec.sdk.au
|
||
|
textSize="20sp"
|
||
|
textColor="#417fb2"
|
||
|
gravity="top|center_horizontal"
|
||
|
id="@+id/nfcStatus"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
text="Processing..."
|
||
|
layout_below="@+id/nfcIcon"
|
||
|
layout_centerHorizontal="true"
|
||
|
lineSpacingMultiplier="1.1"
|
||
|
fontFamily="sans-serif-medium"
|
||
|
textAlignment="center"/>
|
||
|
</RelativeLayout>
|
||
|
<LinearLayout
|
||
|
gravity="center_horizontal"
|
||
|
orientation="vertical"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_below="@+id/activityIndicatorImageView">
|
||
|
<com.facetec.sdk.au
|
||
|
textSize="20sp"
|
||
|
textColor="#ffffff"
|
||
|
gravity="top|center_horizontal"
|
||
|
id="@+id/progressTextView"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginLeft="20dp"
|
||
|
layout_marginTop="15dp"
|
||
|
layout_marginRight="20dp"
|
||
|
text="Processing..."
|
||
|
lineSpacingMultiplier="1.1"
|
||
|
fontFamily="sans-serif-medium"
|
||
|
textAlignment="center"/>
|
||
|
<LinearLayout
|
||
|
gravity="center"
|
||
|
layout_gravity="center"
|
||
|
orientation="horizontal"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
weightSum="2"
|
||
|
importantForAccessibility="noHideDescendants">
|
||
|
<LinearLayout
|
||
|
layout_width="0dp"
|
||
|
layout_height="wrap_content"
|
||
|
layout_weight="1">
|
||
|
<ProgressBar
|
||
|
id="@+id/uploadProgressBar"
|
||
|
visibility="invisible"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
max="10000"
|
||
|
progress="0"
|
||
|
indeterminate="false"
|
||
|
indeterminateDrawable="@android:color/transparent"
|
||
|
progressDrawable="@android:color/transparent"
|
||
|
style="@android:style/Widget.Holo.Light.ProgressBar.Horizontal"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
</RelativeLayout>
|
||
|
<RelativeLayout
|
||
|
id="@+id/zoomResultLayout"
|
||
|
visibility="gone"
|
||
|
clipChildren="false"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<FrameLayout
|
||
|
id="@+id/resultFrame"
|
||
|
clipChildren="false"
|
||
|
clipToPadding="false"
|
||
|
layout_width="80dp"
|
||
|
layout_height="80dp"
|
||
|
layout_centerInParent="true">
|
||
|
<ImageView
|
||
|
gravity="center"
|
||
|
layout_gravity="center"
|
||
|
id="@+id/resultAnimationBackground"
|
||
|
clipToPadding="false"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"/>
|
||
|
<ImageView
|
||
|
gravity="center"
|
||
|
layout_gravity="center"
|
||
|
id="@+id/resultAnimationForeground"
|
||
|
clipToPadding="false"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"/>
|
||
|
</FrameLayout>
|
||
|
<LinearLayout
|
||
|
gravity="center_horizontal"
|
||
|
orientation="vertical"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_below="@+id/resultFrame">
|
||
|
<com.facetec.sdk.au
|
||
|
textSize="20sp"
|
||
|
textColor="#ffffff"
|
||
|
gravity="top|center_horizontal"
|
||
|
id="@+id/resultTextView"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginLeft="20dp"
|
||
|
layout_marginTop="15dp"
|
||
|
layout_marginRight="20dp"
|
||
|
lineSpacingMultiplier="1.1"
|
||
|
alpha="0"
|
||
|
fontFamily="sans-serif-medium"
|
||
|
textAlignment="center"/>
|
||
|
</LinearLayout>
|
||
|
</RelativeLayout>
|
||
|
</RelativeLayout>
|
||
|
<LinearLayout
|
||
|
gravity="bottom|center_horizontal"
|
||
|
orientation="horizontal"
|
||
|
id="@+id/devModeTagLayout"
|
||
|
focusable="true"
|
||
|
visibility="gone"
|
||
|
clickable="true"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="30dp"
|
||
|
layout_marginBottom="20dp"
|
||
|
layout_alignParentBottom="true"
|
||
|
layout_centerHorizontal="true"
|
||
|
contentDescription="@string/FaceTec_accessibility_cancel_button"
|
||
|
alpha="0"
|
||
|
importantForAccessibility="noHideDescendants">
|
||
|
<com.facetec.sdk.au
|
||
|
textSize="16sp"
|
||
|
textColor="#ffffff"
|
||
|
gravity="center"
|
||
|
layout_gravity="center"
|
||
|
id="@+id/devModeTagTextView"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
text="@string/FaceTec_internal_dev_mode_tag"
|
||
|
fontFamily="sans-serif-medium"
|
||
|
textAlignment="center"/>
|
||
|
<ImageView
|
||
|
layout_gravity="center"
|
||
|
id="@+id/devModeTagImageView"
|
||
|
layout_width="20dp"
|
||
|
layout_height="20dp"
|
||
|
src="@drawable/facetec_internal_open_window"
|
||
|
layout_marginStart="5dp"
|
||
|
layout_marginEnd="5dp"/>
|
||
|
</LinearLayout>
|
||
|
<ImageView
|
||
|
gravity="center"
|
||
|
id="@+id/nfcBackButton"
|
||
|
background="@android:color/transparent"
|
||
|
padding="10dp"
|
||
|
focusable="true"
|
||
|
visibility="gone"
|
||
|
clickable="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>
|