Set AntiAlias for BitmapDrawable to false
this is an attempt to fix #94 - documentation states that this value should be false by default - but maybe not on this particular device ..
This commit is contained in:
parent
3b45db5f41
commit
1881618024
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ public class BarcodeHelper {
|
|||
|
||||
final BitmapDrawable bitmapDrawable = new BitmapDrawable(resources, bitmap);
|
||||
bitmapDrawable.setFilterBitmap(false);
|
||||
bitmapDrawable.setAntiAlias(false);
|
||||
return bitmapDrawable;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue