zxing-android-embedded icon indicating copy to clipboard operation
zxing-android-embedded copied to clipboard

A flag for ViewfinderView, to hide the red line, and the yellow points

Open kangle1208 opened this issue 8 years ago • 4 comments

Hi rkistner Thank you very much for yours "zxing-android-embedded"

When scanning code, there is a red line, and some yellow points, on the screen

If users don't want to see the red line and yellow points they need to modify the source, and rebuild a jar or aar file and then, import the jar/aar file into their project and use it like this: compile( name: 'zxing-android-embedded-3.4.0', ext: 'aar' )

If add a flag for ViewfinderView.java, and do some change in the "onDraw" method Users just set the flag, and no need to build jar/aar file Just use it like this: compile 'com.journeyapps:zxing-android-embedded:3.4.0'

Just for more simple, is this usefull?

Thank you very much, again!

kangle1208 avatar Jan 05 '17 03:01 kangle1208

Oh......, with the custom_barcode_scanner.xml,the problem is fixed But, with a flag, may be more simple, am I right? :)

kangle1208 avatar Jan 05 '17 05:01 kangle1208

Yes, that could be a useful shortcut. Pull requests welcome.

rkistner avatar Jan 05 '17 14:01 rkistner

Yeah please change it so that it is possible to set it via the Java class.

Great work guys! 😊

chris8447 avatar Feb 02 '18 19:02 chris8447

Is it implemented?

AbubakarSiddique avatar Dec 21 '23 15:12 AbubakarSiddique