@@ -50,9 +50,6 @@ class ScannerActivity extends AppCompatActivity with ZXingScannerView.ResultHand
|
||||
setupToolbar()
|
||||
|
||||
scannerView = new ZXingScannerView(this)
|
||||
scannerView.setAutoFocus(false)
|
||||
scannerView.setFlash(false)
|
||||
|
||||
val contentFrame = findViewById(R.id.content_frame).asInstanceOf[ViewGroup]
|
||||
contentFrame.addView(scannerView)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user