I have a simple problem that seems to have two simple solutions, neither of which work for me and i cant seem to understand why.
I want to have a portrait view background and an alternate landscape background for my layout. I placed the different images in the separate folders layout and layout-land respectively.
portrait = exactly what it should
landscape = black screen
then i tried making a folder called drawable-land and placing the wide view background there.
same result.
black when going to portrait.
Is there something im missing? This seems so simple and i cant understand what i could possibly be doing wrong.
Thanks in advance.
To programmatically change your background depending on the orientation of the screen:
Try that out, I hope it helps!