Search code examples
androidimageandroid-layoutandroid-studioscreen-size

Application background picture is showing on tablet but not on phone


I am working with Android Studio. I have one layout for all devices. Everything worked fine on tablet and also on phone. Then I changed my background picture and added layouts for landscape, large-landscape and large-port.

Now when I run the app on the tablet everything works fine and all the pictures in my app are being displayed as they should. When I run I on my phone instead of my picture the background is white but all the other pictures are displayed as they should.

I searched a while know and have no idea what I am doing wrong. Does anyone know what to do in this case?


Solution

  • Maybe the file size of the image is too large? Check the logcat output, if that is the problem there should be an error. You can also try a smaller image