<?xml version="1.0" encoding="UTF-8"?>
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:id="@+id/flt_layout"
|
android:layout_width="fill_parent"
|
android:layout_height="fill_parent"
|
android:orientation="vertical"
|
tools:context=".scan.main.CaptureActivity" >
|
|
<FrameLayout
|
android:layout_width="fill_parent"
|
android:layout_height="fill_parent" >
|
|
<SurfaceView
|
android:id="@+id/preview_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_gravity="center_horizontal" />
|
|
<com.videogo.scan.main.ViewfinderView
|
android:id="@+id/viewfinder_view"
|
android:layout_width="fill_parent"
|
android:layout_height="fill_parent"
|
android:background="@color/transparent" />
|
|
<TextView
|
android:id="@+id/txtResult"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="bottom|center"
|
android:layout_marginBottom="50dp"
|
android:layout_marginLeft="20dp"
|
android:layout_marginRight="20dp"
|
android:gravity="center"
|
android:text="@string/ez_scan_cue_txt"
|
android:textColor="@color/white"
|
android:textSize="@dimen/tab_text_size" />
|
|
<CheckBox
|
android:id="@+id/ckbLight"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="bottom|left"
|
android:layout_marginBottom="20dp"
|
android:layout_marginLeft="20dp"
|
android:background="@drawable/flashlight_selector"
|
android:button="@null" />
|
</FrameLayout>
|
|
<com.videogo.widget.TitleBar
|
android:id="@+id/title_bar"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
</FrameLayout>
|