Skip to main content
1 vote
1 answer
118 views

In my Android project, I have an onCreateOptionsMenu(Menu menu) to show a SearchView. The below line sets up an "X" graphic as a close button for the SearchView, which is shown when the ...
AJW's user avatar
  • 1,587
1 vote
0 answers
39 views

I'm working on an Android app and trying to pick a profile image from the gallery. I use setImageURI(uri) to display it in a CircleImageView. The image shows perfectly for 4–5 seconds and then ...
Fiaz Zafar's user avatar
1 vote
0 answers
29 views

I want to create a layout like this. It has 2 images with a diagonal running across the 2 images. Below is my xml layout. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http:...
Ngọc Hưng's user avatar
0 votes
1 answer
42 views

I have two bitmaps that I have placed the character at the bottom right corner of the bitmap. However, I see that upon changing container height of the imageview whose android:src equals the bitmap, ...
i_o's user avatar
  • 799
0 votes
0 answers
47 views

I downloaded and Added an SVG file to my Project's Drawable Directory. When I used it in my Layout with app:srcCompat, the Image doesn't get displayed. I even added the VectorDrawables....
Amey079's user avatar
  • 141
0 votes
2 answers
95 views

I am getting the exception: Fatal Exception: android.content.res.Resources$NotFoundException: Drawable org.radarcns.detail:drawable/status_searching with resource ID #0x7f080130 Caused by android....
Aditya Mishra's user avatar
1 vote
0 answers
647 views

I'm using Glide to show SVG flag inside an ImageView. When i use PNG url it works perfectly, instead when i use SVG url it doesn't work. private void loadImage(String country, ImageView flag) { ...
Christian Neri's user avatar
0 votes
1 answer
304 views

I want the image to shrink or increase in size as i change the screen resolution. Please help! When i changed the screen size the image became either too small or too big for some screen. Just using ...
ken_eisilie's user avatar
0 votes
1 answer
36 views

I have a RelativeLayout, inside one image on top, below Recyclerview, and below the Recyclerview I want to have an ImageView, but aligned to the bottom of the screen. <RelativeLayout xmlns:android=&...
Darksymphony's user avatar
  • 2,757
2 votes
0 answers
271 views

I'm a total newbie with Jetpack Compose. I hope you may help shed some light on my issue. In the old days, if you had a PNG drawable resource, you would provide multiple versions of that drawable ...
Cosmin Radu's user avatar
1 vote
0 answers
566 views

I'm simply trying to load an image into an ImageView. However, I'm getting this error on a Samsung Galaxy A02: OOM allocating Bitmap with dimensions 960 x 1440 Why is it a sci-fi feature in 2023 to ...
Adam Varhegyi's user avatar
0 votes
1 answer
94 views

I have 2 image views in Android. One is a wind turbine pole and the other one wind turbine blades. How can I set the layout constraints such that the wind turbine blades are always correctly attached ...
VanessaF's user avatar
  • 717
0 votes
0 answers
80 views

I'm trying to take permission to change imageView with another image from library that users choose. So, I connected RecipesFragment with MainActivity with NavHostFragment.But when I try to run the ...
Alperen Avan's user avatar
1 vote
0 answers
327 views

I have a very strange error related to custom image Views in Android using self-made png files. This error might be difficult to debug. Still I just wanted to ask you guys here before not using the ...
VanessaF's user avatar
  • 717
0 votes
0 answers
142 views

I am facing a problem to show images and TextView in Custom Toolbar. I have this Layout structure. RelativeLayout -> androidx.appcompat.widget.Toolbar -> LinearLayout(horizontal) -> ImageView,...
Sarmad Ali's user avatar

15 30 50 per page
1
2 3 4 5
283