imageview Questions
4
Solved
I am attempting to display an image file as soon as it is selected from a file chooser. The file chooser is restricted to .png and .jpg files with the selected files being stored in a variable of t...
Bypath asked 19/10, 2016 at 0:26
7
I need to create a GUI with SceneBuilder. I added an ImageView to my interface and set the path to my image correctly. The image is showing inside SceneBuilder, but when I run my application, the i...
Engenia asked 1/4, 2015 at 17:43
33
Can anyone tell me why the following code is not working? The Image does not appear at all.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.co...
2
Solved
I'm using Android Studio to display an imageView. I'm using pinch zoom to interact with my ImageView.
Code:
private class ScaleListener extends ScaleGestureDetector.SimpleOnScaleGestureListener...
8
Solved
I have my application that is displaying images with different ratio, resized inside (centerInside) imageView. What I need is to create bitmap from the ImageView including the background (black in ...
8
Solved
I know there are lots of link available to make ImageView Round Corner.
But I'm Using Picasso Library for Image Loading..
I refer the link to get result.
But the Problem is that I'm Using it in Lis...
2
Solved
How can we make ImageView width and height equal to width of parent ConstraintLayout? So it displays a full width square ImageView.
Generally how can one set HEIGHT of some widget equal to WIDTH o...
Lynnelynnea asked 29/9, 2018 at 14:19
28
Solved
I am using the following code to rotate a image in ImageView by an angle. Is there any simpler and less complex method available.
ImageView iv = (ImageView)findViewById(imageviewid);
TextView tv =...
13
Solved
i have an app with a gallery of images and i want that the user can save it into his own gallery.
I've created an option menu with a single voice "save" to allow that but the problem is...how can i...
Phaih asked 19/12, 2011 at 11:15
21
Solved
How to fit an image of random size to an ImageView?
When:
Initially ImageView dimensions are 250dp * 250dp
The image's larger dimension should be scaled up/down to 250dp
The image should keep its...
12
Solved
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: Thread-1470
03-02 23:14:10.514: E/AndroidRuntime(16736...
30
Solved
Need to set tint for an image view... I am using it the following way:
imageView.setColorFilter(R.color.blue,android.graphics.PorterDuff.Mode.MULTIPLY);
But it doesn't change...
8
Solved
I have a ListView in which there is an ImageView, the image in the ImageView gets loaded dynamically after its fetched from the server.
Now, I want these images, of any size, to fit into a circular...
6
I get the Exception from Firebase Crashlytics
Fatal Exception: java.lang.IllegalStateException: Fragment MyFragment{122418b (05b123e6-aa8d-4de4-8f7e-49c95018234b)} not attached to a context.
at a...
9
Solved
I have an ImageView that is twice the height of a normale screen ( 960 dip). I would like to scroll it nicely up and down on the screen. The bottom of the screen should contain a button. I have tri...
15
I'm trying to get the real size of an image displayed in an image view. Actually my image is larger than the screen and the imageview is resizing the image to diplay it. I'm looking for this new si...
5
Solved
I want to make a screen which contains a top bar and an image. I use TextView for the top bar and ImageView for the image. I want to set padding only to the image view. My xml is given below. The p...
Diabetic asked 24/11, 2013 at 7:51
10
Solved
how can I overlap images half on one another from layout XML file like this image.
Durston asked 11/1, 2017 at 10:10
3
Solved
I've got an ImageView and programmatically I can change its color using imageView.setColorFilter(Color.RED).
There is something similar using xml??
10
Solved
I have a Base64 String that represents a BitMap image.
I need to transform that String into a BitMap image again to use it on a ImageView in my Android app
How to do it?
This is the code that I ...
2
Solved
19
Solved
I added an animated gif image in an imageView. I am not able to view it as a gif image. No animation is there. It's appearing just as a still image. I would like to know how can i show it as a gif ...
10
Solved
When I change the image programmatically, it shows new image on top of the old image which is set originally in layout file?
Here is a snippet of my layout file:
<LinearLayout
android:layout...
4
Solved
I have an alarm symbol on my interface. I want it like if anyone clicks on this then he/she can get another interface.
so how to write a click event of Imageview. plz give me answer. Thank you
4
Solved
I need to resize an ImageView such that it fits to the screen, maintains the same aspect ratio. The following conditions hold:
Images are a fixed width (size of the width of screen)
Images are do...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.