this post was submitted on 30 Oct 2024
10 points (81.2% liked)

Programming

17303 readers
48 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

cross-posted from: https://lemm.ee/post/46066494

I followed the recommended processes for adding images to my app, and it is being displayed correctly on the layout preview, but not at all on the app. I have vector assets, webp, png images, but none are being displayed.

The project is too big to put here in its entirety, but please ask for any snippets that could help you solve the issue. I've tried searching the web and asking LLMs and neither could help, so please help me, fellow humans.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

I'll look into it on the weekend in detail if nobody else can spot the issue until then.

So far, everything looks normal and I didn't see anything in the log at a glance. (besides a bunch of res related warnings that I am not sure about)

Are the images in your res folder / do you see them when you go to View > Tool Windows > Resource Manager ?

[โ€“] [email protected] 2 points 19 hours ago

I do see them when I go to the resource manager