Initial commit
This commit is contained in:
35
resources/res/layout/barcode_scan.xml
Normal file
35
resources/res/layout/barcode_scan.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<SurfaceView
|
||||
android:id="@+id/preview_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<com.google.zxing.client.android.ViewfinderView
|
||||
android:id="@+id/viewfinder_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<TextView
|
||||
android:textColor="@color/status_text"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:id="@+id/status_view"
|
||||
android:background="@color/transparent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/status_margin_bottom"
|
||||
android:text="@string/scan_default_status"/>
|
||||
<Button
|
||||
android:id="@+id/btn_back"
|
||||
android:background="@mipmap/icon_round_back"
|
||||
android:layout_width="@dimen/theme_navigation_large_size"
|
||||
android:layout_height="@dimen/theme_navigation_large_size"
|
||||
android:layout_marginLeft="@dimen/back_margin_top"
|
||||
android:layout_marginTop="@dimen/back_margin_top"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/theme_18sp"
|
||||
android:textColor="@color/theme_btn_txt"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/scan_title_top"
|
||||
android:text="@string/scan_title"/>
|
||||
</merge>
|
||||
Reference in New Issue
Block a user