I am porting a Java game to Android and the graphics in this game will not render correctly if the dimensions are not a square. Thus, the screen will not fit exactly onto my device. Is there anyway to stretch a bitmap, which contains the drawings, like an image? I know there is Bitmap.createScaledBitmap()
, however this changes the pixel dimensions and thus the view will not render correctly. I want the dimensions to be the same, but the image should fill the whole screen. I can deal with distortions.
Asked
Active
Viewed 220 times
0

mrQWERTY
- 4,039
- 13
- 43
- 91
-
Have you tried this response [link](http://stackoverflow.com/a/8113368/4123144) – Wildroid Nov 24 '14 at 03:18
-
Set the image as **background**. It will be stretched. – Phantômaxx Nov 24 '14 at 07:58