Search code examples
androidcordovathemeszxingphonegap-plugins

Add style to zxing barcode scanner (Android)


I am building an Android app using phoneGap and I have successfully added the BarcodeScanner plugin which uses zxine as the scanner. I should note that this is my first Android app, so im still getting used to the dev environment.

I would like to style the "scan" screen to look a little more like my app. For example, change the background color, opacity, add an image, etc. Does anyone have any idea where to start.


Solution

  • I found a few of the values (viewfinder_frame, viewfinder_laser, viewfinder_mask) after looking through the plugin files. located in /res/values/colors.xml