change zxing properties
This commit is contained in:
parent
303011e419
commit
f82b90e0ee
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ public class SendTransactionFragment extends DialogFragment implements UIValidat
|
||||||
public void beginScanQrCode(){
|
public void beginScanQrCode(){
|
||||||
//mScannerView = new ZXingScannerView(getContext());
|
//mScannerView = new ZXingScannerView(getContext());
|
||||||
mScannerView.setFormats(listOf(BarcodeFormat.QR_CODE));
|
mScannerView.setFormats(listOf(BarcodeFormat.QR_CODE));
|
||||||
mScannerView.setAspectTolerance(0.5f);
|
mScannerView.setAspectTolerance(10f);
|
||||||
mScannerView.setAutoFocus(true);
|
mScannerView.setAutoFocus(true);
|
||||||
mScannerView.setLaserColor(R.color.colorAccent);
|
mScannerView.setLaserColor(R.color.colorAccent);
|
||||||
mScannerView.setMaskColor(R.color.colorAccent);
|
mScannerView.setMaskColor(R.color.colorAccent);
|
||||||
|
|
Loading…
Reference in a new issue