Skip to content

Instantly share code, notes, and snippets.

@the-dagger
Created October 22, 2018 18:24
Show Gist options
  • Save the-dagger/77214a8aedb5f2579cb119f53ef3ece1 to your computer and use it in GitHub Desktop.
Save the-dagger/77214a8aedb5f2579cb119f53ef3ece1 to your computer and use it in GitHub Desktop.
<?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:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<com.otaliastudios.cameraview.CameraView
android:id="@+id/cameraView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<TextView
android:textSize="24sp"
android:textStyle="bold"
android:textColor="#fff"
android:id="@+id/tvDetectedItem"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center" />
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment