Top "Imageview" questions

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

Unwanted padding around an ImageView

I need to include a header graphic in all of my activities/views. The file with the header is called …

android user-interface imageview
How to add a shadow and a border on circular imageView android?

I created a CircularImageView with this question: Create circular image view in android Download project on GitHub 1) This is the …

java android imageview
How to Set BackgroundColor on ImageView on Android?

I tried a couple things and nothing is working... I'm trying to change the BackgroundColor on a ImageView on Android, …

android imageview
Android Drop Shadow on View

I have done some extensive searching for code examples on this but cannot find anything. In particular, I am looking …

android xml imageview shadow dropshadow
Canvas: trying to use a recycled bitmap android.graphics.Bitmap in Android

I am working on the crop image class, but encounter a recycled bit map problem: 03-02 23:14:10.514: E/AndroidRuntime(16736): FATAL EXCEPTION: …

android bitmap imageview recycle
How to get the Dimensions of a Drawable in an ImageView?

What is the best way to retrieve the dimensions of the Drawable in an ImageView? My ImageView has an Init-Method …

android imageview dimensions
How to get the height and width of an ImageView/Bitmap in Android

I want to get the height and width of an image bitmap that is either in ImageView or a background …

android imageview android-bitmap dimensions
Replace selector images programmatically

I have an ImageView that has a drawable image resource set to a selector. How do I programmatically access the …

android imageview drawable
Resize images with Glide in a ImageView Android

I have a lot of doubts about the treatment of the images in android, and I was hoping to see …

android imageview resize android-glide
Android - ImageView: setImageBitmap VS setImageDrawable

What is the difference between setImageBitmap and setImageDrawable? I have an image which I would like to set dynamically from …

android imageview android-bitmap