activity_full_scanner_fragment.xml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7. <fragment
  8. android:id="@+id/scanner_fragment"
  9. android:name="me.dm7.barcodescanner.vision.sample.FullScannerFragment"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"/>
  12. <ImageView
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:layout_gravity="top"
  16. android:src="@drawable/ic_launcher"
  17. tools:ignore="ContentDescription"/>
  18. <TextView
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_gravity="center|bottom"
  22. android:text="Place a barcode in the viewfinder rectangle to scan it."
  23. android:textColor="#ffffff"
  24. tools:ignore="HardcodedText"/>
  25. </FrameLayout>