I have set screen orientation to sensor mode so user can use app in both portrait or landscape mode.
So i want to use 2 different background images for landscape or portrait screen orientation .
if screen orientation is portrait background image should be portrait.jgp
or if screen orientation is landscape background image should be landscape.jpg
i was trying this but not working.