non avete bisogno di usare qualsiasi libreria, si può provare a seguire semplice funzione di capovolgere imageview orizzontalmente o verticalmente,
final static int FLIP_VERTICAL = 1;
final static int FLIP_HORIZONTAL = 2;
public static Bitmap flip(Bitmap src, int type) {
// create new matrix for transformation
Matrix matrix = new Matrix();
// if vertical
if(type == FLIP_VERTICAL) {
matrix.preScale(1.0f, -1.0f);
}
// if horizonal
else if(type == FLIP_HORIZONTAL) {
matrix.preScale(-1.0f, 1.0f);
// unknown type
} else {
return null;
}
// return transformed image
return Bitmap.createBitmap(src, 0, 0, src.getWidth(), src.getHeight(), matrix, true);
}
Dovrai passare la bitmap associata a imageview per il tipo capovolto e flipping. Ad esempio,
ImageView myImageView = (ImageView) findViewById(R.id.myImageView);
Bitmap bitmap = ((BitmapDrawable)myImageView.getDrawable()).getBitmap(); // get bitmap associated with your imageview
myImageView .setImageBitmap(flip(bitmap ,FLIP_HORIZONTAL));
Ho provato molto, cosa hai provato? Pubblica qui. –