Category "android-imageview"

ImageButton to show image of ImageView onClick

I want an ImageButton to change its image when clicked on it. But the image that it changes to has to be the image from an ImageView. Is this possible? EDIT: in

Display elements in the same place for all devices

I'm trying move items bottom middle, and I want that it was on bottom middle for all devices. And I need add text above and under my imagviews on middel. Sorry

ShapeableImageView's stroke is getting cut by borders

I have a ShapeableImageView here, with 5dp stroke: <com.google.android.material.imageview.ShapeableImageView android:id="@+id/profile_picture" androi

ImageView exceeds parent android studio xml

How do I make a child ImageView clip to the bounds of its parent? When I add an ImageView as a child to a parent view with rounded corners, the child ImageView

How to fix image view icon color changes in dark mode and lite mode of the device

I'm trying to include icons in imageview but when the dark mode is on the color is dark and when on lite mode its shows in white, I want color to be white in bo

Picasso Fetching Images in Activity, then show them into Fragment's ImageView

I am trying to fetch multiple images in an Activity with FragmentStateAdapter in it. Then I need to show them into some Fragment's ImageView. I want to preload

Picasso 2.5.2 does not load a local image

I am using Picasso 2.5.2 to use it with OkHttp 2.5.0 The code in onCreate() is like below: File mypath = new File(getFilesDir().getAbsolutePath()+"/"+ date +

Black background behind image in ImageView

Seems silly but I have tried using ImageButton, Image view but the black square behind circular image is not going. I am using png image and want transparent ba

Svg not visible in device but visible in android xml

I have used SVG's for these icons, the icons are visible in xml but not visible in device . following is my code : ` <LinearLayout

Align image within imageView to bottom center

I have a simple imageView and I want an image to be displayed in the center of the bottom. At the moment it is displayed in the bottom right corner. <ImageV