mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-04-01 14:21:57 -04:00
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.
This commit is contained in:
@@ -144,7 +144,6 @@ public class BarcodeSelectorActivity extends AppCompatActivity
|
||||
}
|
||||
|
||||
image.setImageBitmap(null);
|
||||
image.setVisibility(View.GONE);
|
||||
image.setOnClickListener(new View.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user