Questions tagged [imageview]
Android widget that displays an arbitrary image or drawable, such as an icon.
imageview
9,869
questions
-1
votes
1
answer
44
views
In Swift UIKit, how to add two button images inside a table cell?
I need two images buttons to be clickable inside a certain cell (not all cells), instead of the text. How can I do this? I have the cell extension, and the image "the_icon" exists (I can see ...
1
vote
1
answer
24
views
How to extract gps coordinates from an ImageView in Android Studio
I have an android app in which I want to display the GPS Coordinates of an ImageView, that I get from the users image uploads. My Code looks like the following:
package com.example.app;
import ...
0
votes
1
answer
29
views
Android Talkback issue for ImageView
I'm using ImageView for voiceover accessibility as below:
imageView.setContentDescription("This is ImageView control");
But problem which I'm facing, that voiceOver pronouncing complete ...
0
votes
1
answer
17
views
Image not loading in the custom view class that extends AppCompatImageView
I have designed a custom class named PaintView. My objective is to load an image that user selects and allow the user to draw like paint brush or put different shapes on it.
Here's how I implemented ...
0
votes
1
answer
25
views
How do I avoid pixelation in an Imageview in an Android app?
I'm writing a music player app and want to show the album art with each song. Some of the album art looks just fine and other art is pixelated. There doesn't seem to be any pattern to the problem. I'...
0
votes
0
answers
39
views
Imageview does not keep the selected image after changing activity
I have a MainActivity and a EditActivity, Main shows default info, then it can be changed on EditActivity which sends new info to MainActivity. Edit has a ImageView "@+id/edit_profile_picture&...
0
votes
0
answers
15
views
How can i make the margin smaller without making the png image change its size?
enter image description hereenter image description here
Hi, i'm new to Android Studio XML, i need to make the margin of my PNG img smaller so it's make me easier to constraint other view, but when i ...
0
votes
0
answers
30
views
Why does width of the ImageView not change after being rotated 90 degrees? [duplicate]
I am making an version of monopoly in javafx and I am adding tiles which are extend the Stackpane class. This works for all types of 'tiles' except for one, the simplest type of tile, imageTile which ...
0
votes
0
answers
27
views
toga.ImageView not showing image under 'if' condition
I am trying to create an app with a dropdown menu, on click then it will show an image - code attached:
selection = toga.Selection(
items=[
{"name": "...
0
votes
0
answers
23
views
How can I load an image to an ImageView without reducing its original size, while scaling it down to the dimensions on the ImageView?
I can load drawable into an ImageView, and save it afterwards. But the saved image is smaller in size than the original one. I suspect it is the size of the ImageView. How can I load an image into an ...
0
votes
0
answers
22
views
Vibration problem when rotating ImageView in UIButton - iOS
Comparison with the first function call
I created a UIButton with text and images that fetched the calendar.
And I'm rotating the imageView 90 degrees with the button action.
However, as you can see ...
0
votes
0
answers
24
views
How to give a 3d shadow effect to a layout
I want to replicate this type of shadow in my layout
Image
currently im making this images and using it in my app i have approx 50+ images like this , but i dont think so this is a good approach, ...
0
votes
1
answer
20
views
How can I get the images to scale with different screen sizes in Android Studio?
In my code my app runs fine, but I am running into issues when I am using a different screen size. The buttons line up correctly but the images do not scale at all.
This is my XML file
<?xml ...
0
votes
1
answer
21
views
Any ideas why my Android Studio app randomly crashes on setting drawable for ImageView?
I am sure this is a question in vain. But I have coded multiple apps and on each one I get random crashes on updating an image.
I use the findViewById(..).setBackgroundResource(..) method.
...
0
votes
0
answers
35
views
Android ImageView not displaying correctly
Does any one else have this issue? Sometime when my images are downloaded from the api, I display them in an image view using : binding?.imgView?.setImageBitmap(it)
Some times when the image is ...