I guess this would be quite a begginer question, but somehow I can't get trough.
What I'm trying to do is simple UI which would work in portraite and landscape mode.
How I did it ...I have create two layout variants in designer ... one for 480x800x1, and another one for 800x480x1 ... and on each of them I have rearange elements.
In app, on Activity_Create, I just do activity.LoadLayout ... without referencing to variant (as I understood that it would select layout which fit's best).
But it is not working properly ... it select only one layout (first one which I have create) no mather which orientation phone is.
What am I doing wrong ?
What I'm trying to do is simple UI which would work in portraite and landscape mode.
How I did it ...I have create two layout variants in designer ... one for 480x800x1, and another one for 800x480x1 ... and on each of them I have rearange elements.
In app, on Activity_Create, I just do activity.LoadLayout ... without referencing to variant (as I understood that it would select layout which fit's best).
But it is not working properly ... it select only one layout (first one which I have create) no mather which orientation phone is.
What am I doing wrong ?