I have created two layout files for my android application, to manage the switch from landscape to portrait and from portrait to landscape. One in the dir res/layout and one (landscape file) in res/layout-land. But my application, when I try to run it, doesn't see the landscape xml file. How can I fix? Have I forgotten something?
Asked
Active
Viewed 65 times
0
-
Are you sure you placed DIFFERENT xml files in each folder? – TronicZomB May 22 '13 at 14:58
-
Have you set your activity to handle orientation configuration changes in your manifest? If so, don't. – Bryan Herbst May 22 '13 at 14:58
-
Make sure the naming is the same – Mohamed_AbdAllah May 22 '13 at 15:17
-
Yes, the error is the setting onConfigChange = orientation. Thanks of all. – May 23 '13 at 07:53