Rotate an image around center
<p>How can I rotate an image around it's center point? This rotates it but also moves it:</p>

<pre><code> Matrix mat = new Matrix();
 mat.postRotate(45);
 Bitmap bMapRotate = Bitmap.createBitmap(dialBM, 0, 0, dialBM.getWidth(),dialBM.getHeight(), mat, true);
dial.setImageBitmap(bMapRotate);
</code></pre>

<p>I've checked other examples on this site, but they either fail to work or use canvas, I do not wish to use canvas.</p>
