Comments (4)
@radsen kindly post the snippet used and possibly screenshot.
from mobilevisionbarcodescanner.
Here is the image of how is looking
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.
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.
+1
from mobilevisionbarcodescanner.
Related Issues (20)
- 409 error when downloading dependency from https://repo.jfrog.org/artifactory/libs-release-bintray/com/google/android/gms/play-services-basement-license/11.4.2/play-services-basement-license-11.4.2.pom?referrer
- Camera2 implementation.
- The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies. HOT 4
- QR Code scanner is not Retrieval HOT 2
- update google play services version to latest HOT 1
- RxPermission Library version update
- is there a way to turn on/off flash without "refresh"?
- Disable auto requesting camera permission
- How can I make the fragment of quickstart guide fills the entire screen? HOT 3
- Dependency posted not working but this does
- [Feature Request] Support for androidx HOT 2
- can you please setZoom function to set zoom
- I have layout in a fragment. The App is crashing with the error log NullException cannot cast to BarcosdeCapture. For activity is working fine but for fragment it is crashing HOT 1
- Got conflit when try to add gms library HOT 1
- Unable to destroy activity null pointer exception at barcodecapture.ondestroy HOT 8
- I can't detect and track more than 3 QR Codes at the same time?
- This error log showing continuously and nonstop when I run in Emulator (Pixel 2) but Not happen in real devices.
- Want Solution On This ASAP HOT 2
- Camera Preview continues to stretch
- Rx permissions2 prevents building app when jcenter() is removed to add mavenCentral() repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobilevisionbarcodescanner.