Merge pull request #636 from SeannyM/android-filter

[Android] Enable filtering onscreen buttons
This commit is contained in:
Ryan Houdek 2014-07-16 19:37:53 -05:00
commit 11a0f5ddc5
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ public final class InputOverlay extends SurfaceView implements OnTouchListener
Bitmap bitmapResized = Bitmap.createScaledBitmap(bitmap,
(int)(dm.heightPixels * scale),
(int)(dm.heightPixels * scale),
false);
true);
return bitmapResized;
}

View File

@ -54,7 +54,7 @@ public final class OverlayConfigButton extends Button implements OnTouchListener
Bitmap bitmapResized = Bitmap.createScaledBitmap(b,
(int)(displayMetrics.heightPixels * scale),
(int)(displayMetrics.heightPixels * scale),
false);
true);
return new BitmapDrawable(getResources(), bitmapResized);
}