Skip to content

Commit

Permalink
Fix preview size
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Feb 1, 2019
1 parent d3794ce commit 0eab022
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class QrReaderActivity : AppCompatActivity() {
val barcodeDetector = BarcodeDetector.Builder(this).setBarcodeFormats(Barcode.QR_CODE).build()
val cameraSource = CameraSource.Builder(this, barcodeDetector)
.setAutoFocusEnabled(true)
.setRequestedPreviewSize(600, 100)
.setRequestedPreviewSize(640, 480)
.build()


Expand Down

0 comments on commit 0eab022

Please sign in to comment.