Top "Imageview" questions

Android widget that displays an arbitrary image or drawable, such as an icon.

How to align ImageView to the bottom, fill its width and height, and keep its aspect ratio?

Background There are various XML attributes for ImageView to scale its content , and various layout views that allow to place …

android imageview aspect-ratio
Android ImageView ScaleType and item height

Things looked quite simple first but in the end the result is not good. I have an image which has …

android imageview scale
android Imageview layoutparams in dip?

I'm using the following code : ImageView i = new ImageView(mContext); i.setImageResource(mImageIds[position]); i.setScaleType(ImageView.ScaleType.FIT_XY); //…

android imageview density-independent-pixel
ImageView ScaleType ignores padding

I have a Imageview set with a white background and 1dp padding, this creates a border-like effect, which is the …

android gridview imageview border
How to center ImageView in a toolbar?

Been trying to center a logo inside my toolbar. When i navigate to the next activity, the "up affordance" icon …

android android-actionbar imageview center toolbar
When click a button rotate image clockwise in android

I have a requirement where I have an ImageView and a button. http://i1289.photobucket.com/albums/b509/salikclub/Rotate-Last-Start_…

android imageview android-imageview image-rotation
How set imageview scaletype to topCrop

I'm coding android and I have a imageview. I want to set scaletype of this to topcrop. I could find …

android imageview scaletype
how to send image from one activity to other?

I need send a imageview like i send the string "title", but i can't, how can i send a imageview (…

android android-activity imageview send
how to scale an image in an ImageView so that it "fits"

I want to scale an image in an ImageView in the following way. The ImageView has some dimensions Width (W) …

android imageview scaling
Android Volley - how to animate image loading?

any idea how to play a fade in animation when image loads? Now it just blinks into place. I am …

android imageview fadein animated android-volley