Skip to content
Snippets Groups Projects
Commit 8d85f15e authored by akwizgran's avatar akwizgran
Browse files

Use a larger QR code for testing (62 characters).

parent 8dd9b583
No related branches found
No related tags found
No related merge requests found
res/drawable-mdpi/hello_world.png

2.18 KiB

res/drawable-mdpi/test_code_62_chars.png

2.67 KiB

...@@ -57,7 +57,7 @@ implements QrCodeDecoder.ResultCallback { ...@@ -57,7 +57,7 @@ implements QrCodeDecoder.ResultCallback {
tickView.setVisibility(GONE); tickView.setVisibility(GONE);
ImageView qrCodeView = new ImageView(this); ImageView qrCodeView = new ImageView(this);
qrCodeView.setImageResource(R.drawable.hello_world); qrCodeView.setImageResource(R.drawable.test_code_62_chars);
qrCodeView.setScaleType(FIT_CENTER); qrCodeView.setScaleType(FIT_CENTER);
qrCodeView.setBackgroundColor(WHITE); qrCodeView.setBackgroundColor(WHITE);
qrCodeView.setLayoutParams(new LayoutParams(WRAP_CONTENT, qrCodeView.setLayoutParams(new LayoutParams(WRAP_CONTENT,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment