-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
Description
Hi guys,
I am creating a QR-Code with a text and put it in a imageView. Here is my code:
final String value = "Thats a test value";
QRGEncoder qrgEncoder = new QRGEncoder(value, null, QRGContents.Type.TEXT, 1024);
qrgEncoder.setColorBlack(Color.BLACK);
qrgEncoder.setColorWhite(Color.WHITE);
final Bitmap bitmap = qrgEncoder.getBitmap();
ivQrCode.setImageBitmap(bitmap);
But my generated QR-Code has a border, in my case white. Can I remove this border?
I have already tried to set the color to transparent but then the ImageView still has exactly the same margin to the sides.
I need to remove the border before generating a bitmap.
Reactions are currently unavailable
