From 2768f4c590da5099ac6bb15aec57b4458ae6a63f Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sun, 12 Feb 2017 22:40:15 -0500 Subject: [PATCH] Start with all barcode images visible If the user enters the barcode selector view with a pre-existing id, the barcodes are immediately drawn. However, if the ImageViews were invisible their initial size is not known, and as such the generated barcode images are fuzzy or not as expected. To avoid this, all images are set to be visible. The expectation is that once the barcodes are drawn for the first time if they are invalid the images will be made invisible anyway. --- .../main/java/protect/card_locker/BarcodeSelectorActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/protect/card_locker/BarcodeSelectorActivity.java b/app/src/main/java/protect/card_locker/BarcodeSelectorActivity.java index 3688cabd7..5cf0f9250 100644 --- a/app/src/main/java/protect/card_locker/BarcodeSelectorActivity.java +++ b/app/src/main/java/protect/card_locker/BarcodeSelectorActivity.java @@ -144,7 +144,6 @@ public class BarcodeSelectorActivity extends AppCompatActivity } image.setImageBitmap(null); - image.setVisibility(View.GONE); image.setOnClickListener(new View.OnClickListener() { @Override