Hi
I am trying to rotate a draw 9 image horiontally. But all the
stretching is done.
Bitmap bmp =
BitmapFactory.decodeResource(res,incomingColorId);
Matrix matrix = new Matrix();
matrix.setScale(-1.0f, 1.0f);
Bitmap
Hi
I am trying to rotate a draw 9 image horiontally. But all the
stretching is done.
Bitmap bmp =
BitmapFactory.decodeResource(res,incomingColorId);
Matrix matrix = new Matrix();
matrix.setScale(-1.0f, 1.0f);
Bitmap incomingImageFlipped
You need to wrap the Bitmap in a NinePatchDrawable in order to get the
stretching behavior.
Pepijn
On 08/06/2011 13:57, Raj wrote:
Hi
I am trying to rotate a draw 9 image horiontally. But all the
stretching is done.
Bitmap bmp =
3 matches
Mail list logo