Rotate Arrow 180 degree android
how can i rotate image with 180 degree like ::
开发者_如何学PythonThanks
NikUse this
int w = oldBitmap.getWidth();
int h = oldBitmap.getHeight();
String filePath = null;
Matrix mtx = new Matrix();
mtx.postRotate(180);
oldBitmap = Bitmap.createBitmap(oldBitmap, 0, 0, w, h, mtx, true);
Cheers!!!
精彩评论