We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fdbbbe commit 8173d4aCopy full SHA for 8173d4a
README.md
@@ -172,11 +172,13 @@ try {
172
} catch(Exception e) {
173
174
}
175
+```
176
-No customization of the image is currently supported, including changing colors or padding. If you
177
-require more customization, copy and modify the source for the encoder.
+To customize the generated barcode image, use the `setBackgroundColor` and `setForegroundColor` functions of the
178
+`BarcodeEncoder` class with a [`@ColorInt`](https://developer.android.com/reference/androidx/annotation/ColorInt)
179
+value to update the background and foreground colors of the barcode respectively. By default, the barcode has a
180
+white background and black foreground.
181
-```
182
183
### Changing the orientation
184
0 commit comments