Giter VIP home page Giter VIP logo

Comments (4)

KingsMentor avatar KingsMentor commented on August 20, 2024

@radsen kindly post the snippet used and possibly screenshot.

from mobilevisionbarcodescanner.

radsen avatar radsen commented on August 20, 2024

Here is the image of how is looking

screen shot 2018-01-22 at 3 40 55 pm

This way I'm creating the fragment (Kotlin)
BarcodeCapture()
.setBarcodeFormat(Barcode.ALL_FORMATS)
.shouldAutoFocus(true)
.setSupportMultipleScan(false)
.setShowDrawRect(true)
.setRectColors(arrayOf(R.color.square_green))
.setShowFlash(false)

and I'm placing that fragment in this layout inside container:

<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">

<include layout="@layout/view_toolbar"
    android:id="@+id/layout"
    app:layout_constraintTop_toBottomOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintEnd_toEndOf="parent"/>

<com.sothree.slidinguppanel.SlidingUpPanelLayout
    xmlns:sothree="http://schemas.android.com/apk/res-auto"
    android:id="@+id/slidingLayout"
    android:layout_width="0dp"
    android:layout_height="0dp"
    android:gravity="top"
    sothree:umanoPanelHeight="0dp"
    sothree:umanoShadowHeight="4dp"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toStartOf="@+id/verticalGuideline"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/layout">

    <LinearLayout
        android:id="@+id/container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

    </LinearLayout>

    <TextView
        android:id="@+id/message"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center|top"
        android:text="The Awesome Sliding Up Panel"
        android:textSize="16sp" />

</com.sothree.slidinguppanel.SlidingUpPanelLayout>

<android.support.constraint.Guideline
    android:id="@+id/verticalGuideline"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    app:layout_constraintGuide_percent="0.5"/>

<LinearLayout
    android:id="@+id/actionContainer"
    android:layout_width="0dp"
    android:layout_height="0dp"
    android:orientation="vertical"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toEndOf="@id/verticalGuideline"
    app:layout_constraintTop_toBottomOf="@+id/layout">

</LinearLayout>

</android.support.constraint.ConstraintLayout>

from mobilevisionbarcodescanner.

radsen avatar radsen commented on August 20, 2024

And today I saw something new but I believe is coming from the GMV because with no QR in front is capturing values like these:

01-22 15:39:46.075 22561-23869/package D/Captured: 4121138737777
01-22 15:41:17.230 22561-24131/package D/Captured: 5907027698836

from mobilevisionbarcodescanner.

seyidkanan avatar seyidkanan commented on August 20, 2024

+1

from mobilevisionbarcodescanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.