Hi All,
I'm wanting to implement a seekbar to control the horizontal position
of an image.
I have tried to use a matrix.postTranslate but it doesnt appear to do
what I want.
Snippet below:
private void drawMatrix(){
Matrix matrix = new Matrix();
matrix.postTranslate(panX, panY);
Bitmap resizedBitmap = Bitmap.createBitmap(bitmap, 0, 0,
bmpWidth, bmpHeight, matrix, true);
myImageView.setImageBitmap(resizedBitmap);
}
Any help would be greatly appreciated.
Thanks
Grade
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en