You can always trim the piece you need with the static method Bitmap.createBitmap()and then assign it to the view:
Sort of...
private static final Bitmap SOURCE_BITMAP = BitmapFactory.decodeFile(....);
private static final int START_X = 10;
private static final int START_Y = 15;
private static final int WIDTH_PX = 100;
private static final int HEIGHT_PX = 100;
Bitmap newBitmap = Bitmap.createBitmap(SOURCE_BITMAP, START_X, START_Y, WIDTH_PX, HEIGHT_PX, null, false);
ImageView image = (ImageView)findViewById(R.id.image_view);
image.setImageBitmap(newBitmap);
source
share