photo = (ImageView) findViewById(R.id.image1);
photo.setImageBitmap(pic);
Drawable drawable = photo.getDrawable();
imageBounds = drawable.getBounds();
int scaledHeight = imageBounds.height();
int scaledWidth = imageBounds.width();
Здесь scaledHeight и scaledWidth равны нулю. Но я получаю размер изображения правильно.
int intrinsicHeight = drawable.getIntrinsicHeight();
int intrinsicWidth = drawable.getIntrinsicWidth();
В чем проблема imageBounds.height ();