119 lines
4.2 KiB
XML
119 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
id="@+id/topLayout"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
keepScreenOn="true">
|
|
<RelativeLayout
|
|
id="@+id/previewOCR_container"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<io.beid.beidk.ui.camera.CameraSourcePreview
|
|
layout_gravity="center"
|
|
id="@+id/previewOCR"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"/>
|
|
<io.beid.beidk.view.JHSquareMaskView
|
|
id="@+id/squareOverlayView"
|
|
padding="15dp"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
alpha="0.85"
|
|
NOT_FOUND_0x16="#353239"/>
|
|
<io.beid.beidk.ui.camera.GraphicOverlay
|
|
id="@+id/graphicOverlay"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"/>
|
|
<TextView
|
|
textSize="16dp"
|
|
textColor="@android:color/white"
|
|
id="@+id/textView2"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
layout_marginTop="50dp"
|
|
text="@string/passport_scan_suggest"
|
|
layout_alignParentBottom="false"
|
|
textAlignment="center"
|
|
paddingHorizontal="30dp"/>
|
|
</RelativeLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/epassport_container"
|
|
background="#f5f3f6"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
layout_width="match_parent"
|
|
layout_height="241dp">
|
|
<ImageView
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent"
|
|
layout_margin="30dp"
|
|
NOT_FOUND_0x17="@drawable/nfc"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/view_progress"
|
|
visibility="gone"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
paddingHorizontal="30dp"
|
|
paddingVertical="15dp">
|
|
<ProgressBar
|
|
id="@+id/progressBar"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
progress="0"
|
|
style="@android:style/Widget.Holo.ProgressBar.Horizontal"/>
|
|
<TextView
|
|
textSize="15dp"
|
|
textColor="#353239"
|
|
id="@+id/textView"
|
|
layout_width="match_parent"
|
|
layout_height="wrap_content"
|
|
text="@string/epassport_scan_progress"
|
|
textAlignment="center"
|
|
paddingVertical="5dp"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
orientation="vertical"
|
|
id="@+id/view_suggest"
|
|
layout_width="match_parent"
|
|
layout_height="match_parent">
|
|
<TextView
|
|
textSize="18sp"
|
|
textColor="#353239"
|
|
gravity="center"
|
|
id="@+id/tvNFCInfo"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="59dp"
|
|
text="@string/passport_place_text1"
|
|
paddingHorizontal="15dp"/>
|
|
<TextView
|
|
textColor="#736e78"
|
|
gravity="top|center_horizontal"
|
|
id="@+id/tvNFCInfo2"
|
|
paddingTop="15dp"
|
|
visibility="visible"
|
|
layout_width="match_parent"
|
|
layout_height="103dp"
|
|
text="@string/passport_place_text2"
|
|
paddingHorizontal="15dp"/>
|
|
<TextView
|
|
textSize="16sp"
|
|
textColor="#353239"
|
|
gravity="bottom|center_horizontal"
|
|
id="@+id/text_blink"
|
|
layout_width="match_parent"
|
|
layout_height="83dp"
|
|
text="@string/detecting"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</FrameLayout>
|