Init commit

This commit is contained in:
matt committed 2026-03-02 17:36:10 -08:00
commit e9dcb2b394
605 files changed
+76339

No files matched your search

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#000000">
<com.journeyapps.barcodescanner.DecoratedBarcodeView
android:id="@+id/barcode_scanner_view"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_margin="16dp" />
<Button
android:id="@+id/button_scan"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Start Scanning"
android:textSize="18sp"
android:layout_margin="16dp"
android:backgroundTint="#4CAF50" />
<TextView
android:id="@+id/text_view_results"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="No codes scanned yet"
android:textSize="16sp"
android:textColor="#FFFFFF"
android:padding="16dp"
android:background="#333333" />
</LinearLayout>
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="UPC Code Scanner"
android:textSize="24sp"
android:textStyle="bold"
android:layout_marginBottom="32dp" />
<Button
android:id="@+id/button_video"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Scan from Video File or URL"
android:layout_marginBottom="16dp"
android:textSize="18sp" />
<Button
android:id="@+id/button_camera"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Scan from Camera"
android:textSize="18sp" />
</LinearLayout>
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/text_view_status"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Processing video..."
android:textSize="18sp"
android:textStyle="bold"
android:layout_marginBottom="16dp" />
<ListView
android:id="@+id/list_view_results"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:divider="@android:color/darker_gray"
android:dividerHeight="1dp" />
</LinearLayout>
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:background="?android:attr/selectableItemBackground">
<TextView
android:id="@+id/text_view_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="18sp"
android:textColor="#000000"
android:ellipsize="end"
android:maxLines="1" />
</LinearLayout>