Hi, So apparently, the code would work if I change the imageView backgroundDrawable instead code to: ImageView iv = new ImageView(this); BitmapDrawable bd = new BitmapDrawable(SOME_LARGE_BITMAP); bd.setGravity(Gravity.BOTTOM); //Or any other gravity combination iv.setBackgroundDrawable(bd);
But if I do this, then I won't be able to set a backgroundColor for the imageView. Is it a bug for it not to draw the clipped image on imageView when usin setImageDrawable? Anyone? Sammy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---