<?xml version=”1.0" encoding=”utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android"
xmlns:app=”http://schemas.android.com/apk/res-auto"
xmlns:tools=”http://schemas.android.com/tools"
android:layout_width=”match_parent”
android:layout_height=”match_parent”
tools:context=”.MainActivity”>
<!-- PreviewView will display live camera feed -->
<androidx.camera.view.PreviewView
android:id=”@+id/cameraView”
app:layout_constraintStart_toStartOf=”parent”
app:layout_constraintBottom_toTopOf=”@+id/bottomText”
android:layout_width=”match_parent”
android:layout_height=”match_parent” />
<!-- We'll use this textView to display the decoded barcode value -->
<TextView
android:id=”@+id/bottomText”
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:background=”@color/white”
android:padding=”32dp”
android:textSize=”24sp”
app:layout_constraintBottom_toBottomOf=”parent”
app:layout_constraintLeft_toLeftOf=”parent”
app:layout_constraintRight_toRightOf=”parent”
tools:text=”Barcode Value: “/>
</androidx.constraintlayout.widget.ConstraintLayout>
Code Example |
---|
Html :: what is element in html |
Html :: html img |
Html :: adding images to html |
Html :: bulma search dropdown |
Html :: aria label html |
Html :: empecher saut de ligne html |
Html :: tag html lang attribute |
Html :: html project ideas |
Html :: sndl stock |
Html :: cuales son los elementos bloque y los elementos linea |
Html :: meaning of frenzy |
Html :: how to add a rollover image in html |
Css :: css add dots if text too long |
Css :: Hide calendar icon |
Css :: reset submit input style |
Css :: navbar box shadow |
Css :: rotate div css |
Css :: how to use between in media query |
Css :: html static background |
Css :: how to use gradient as text color |
Css :: font awesome before css |
Css :: scroll-behavior not working |
Css :: css make long text wrap |
Css :: ul no indent |
Css :: css how do i remove highlighting |
Css :: css last 3 childs |
Css :: css @media measurements |
Css :: remove border select css |
Css :: tailwind absolute center |
Css :: remove button default border css |