-2

So I made an app using the NASA RSS feed where I can browse through images of the day. Everything works fine until the app crashes because one of the images was too high res I believe.

This was the error: enter image description here

after some research I learned that I should create and use a drawable-xxxhdpi resource file which I did. However, theres nothing inside of it enter image description here The error states "Class drawable should be defined"

So what should I be typing inside the element to allow for High res images to be drawn without crashing? Thank You!

vvvvv
  • 25,404
  • 19
  • 49
  • 81

1 Answers1

0

SOLUTION provided by @pawel I used picasso to load images from the URL but did not use it to scale the images. Pawel suggested I use .fit() and it worked

enter image description here