Skip to content

Commit

Permalink
[Android] Enable filtering onscreen buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydr8gon committed Jul 17, 2014
1 parent 51dff5a commit 304d9cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static Bitmap resizeBitmap(Context context, Bitmap bitmap, float scale)
Bitmap bitmapResized = Bitmap.createScaledBitmap(bitmap,
(int)(dm.heightPixels * scale),
(int)(dm.heightPixels * scale),
false);
true);
return bitmapResized;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private Drawable resizeDrawable(Drawable image, float scale)
Bitmap bitmapResized = Bitmap.createScaledBitmap(b,
(int)(displayMetrics.heightPixels * scale),
(int)(displayMetrics.heightPixels * scale),
false);
true);

return new BitmapDrawable(getResources(), bitmapResized);
}
Expand Down

0 comments on commit 304d9cc

Please sign in to comment.