Dear sir,
I define different templates(two main.xml files) one for portrait and one for landscape.
When I change screen from portrait to landscape or vice-versa, then application loaded the main.xml define in layout-land folder but this main.xml not loading state full data that portrait's main.xml was showing previously..
Eg. for more clearity --- suppose i have an imageview and a button in our application,and i false imageview's visiblity on button click.
now i launch this application on emulator and click the button ,at this time image's visiblity is false.
Now i switch the screen in landscape mode ,here image's visiblity should be false but it is not(it is showing the image).
How can I solve it?
Please help me,
Thank you,
Vishnu Jangid