Top "Android-imageview" questions

Displays an arbitrary image or a drawable, such as an icon or an xml defined graphical element.

Android: Bitmap to Byte Array and back: SkImageDecoder::Factory returned null

The goal is to convert a Bitmap to a byte [], pass it between activities in a Bundle of data, then …

java android bitmap bytearray android-imageview
Android layout - alignment issue with ImageView

I'm trying to put an image at the top left of a LinearLayout, but with the image border and padding …

android layout android-imageview
How to use selector to tint ImageView?

I want to tint my tabhost's icons using XML, instead of doing it programmatically (I wasn't able to do that …

android android-imageview android-selector
How to add image in toolbar

I am following this example to create my app now i am trying to add image in my toolbar the …

android android-imageview android-toolbar
i want to add a color filter to the imageview

I'd like to add a ColorFilter to ImageView. Currently I'm using: ImageView iv = (ImageView)findViewById(resIdOfImageToFilter); iv.setColorFilter(Color.RED, …

android android-imageview porter-duff
ImageView fills parent's width OR height, but maintains aspect ratio

I have a square image (though this problem also applies to rectangular images). I want to display the image as …

android android-layout android-imageview android-relativelayout
When it's necessary to execute invalidate() on a View?

My answer to this question was just accepted but I started to wonder when exactly one needs to invalidate() a …

android android-imageview android-view
Android: Using selector to set background color for image view

I am trying to set the background color of an image view. <ImageView android:id="@+id/my_image" android:…

android colors background css-selectors android-imageview
Android: Display Image from SD CARD

This is driving me insane! Here's my code (I know this file exists): File imageFile = new File("/sdcard/gallery_photo_4.…

android android-sdcard android-imageview
ImageView adjustViewBounds not working

I have an ImageView with android:layout_width=100dp, android:layout_height=wrap_content and android:adjustViewBounds=true It's source …

android imageview android-imageview