Top "Imageview" questions

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

What is the difference between src and background of ImageView

I am a puzzled about using src or background for an ImageView. I know the former means the content of …

android background imageview src
Android RemoteViews, how to set ScaleType of an ImageView inside a widget?

I am developing a widget with an image on the rigth side, which can be choosen by the user in …

android widget imageview
Android imageview not respecting maxWidth?

So, I have an imageview that should display an arbitrary image, a profile picture downloaded from the internet. I want …

android scaling imageview
Android Flip ImageView Vertically

I am trying to flip and ImageView vertically but it just won't work. Java: public static void flipImageVertically(final Bitmap …

android imageview flip
BitmapFactory.decodeFile returns null even image exists

Saving the file: FileOutputStream fo = null; try { fo = this.openFileOutput("test.png", Context.MODE_WORLD_READABLE); } catch (FileNotFoundException e) { e.…

android bitmap imageview fileoutputstream
Does android:scaleType="fitCenter" only work with fix Layout_width and Layout_height attributes?

I use Layout_width="fill_parent" and Layout_height="wrap content". If an image is bigger than the ImageView, it …

android imageview android-layout android-image
Elevation not working for ImageView

Elevation for ImageView is not working. I declared ImageView in XML like this: <ImageView android:id="@+id/image" android:…

android imageview android-elevation
Show AlertDialog with ImageView without any padding

EDIT - SOLUTION: I ended up figuring out a way to solve this issue. Because manually changing the height of …

android dialog imageview android-alertdialog
android-TextView setText in Html.fromHtml to display image and text

I try to display the text and image in Html.fromHtml() but it is doesn't work in image display. message = (…

android html textview imageview settext
Android ImageView - Load Image from URL

I have a number of "contact" objects each with an imageURL String associated with them. All the ways I've seen …

android imageview image-loading