Follow

How can I customize the UI?

You have different methods to customize the GUI:

mBarcodePicker.getOverlayView().setViewfinderColor(0, 0.4f,0.8f); 

     and  the color of the viewfinder once the barcode has been recognized: setViewfinderDecodedColor

mBarcodePicker.getOverlayView().setViewfinderDecodedColor(0, 0.4f, 0.8f);

mBarcodePicker.getOverlayView().setViewfinderDimension(0.7,0.3,0.4,0.3);

mBarcodePicker.getOverlayView().drawViewfinder(false);
rootView.addView(newViewFinder, rParams);

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request