wiki layout variants

enonod

Well-Known Member
Licensed User
Longtime User
I have read the wiki on layout variants.
I have a program that on a mobile phone should only run in portrait mode but on other devices could do either.
If the program was run on a mobile phone and the owner happened to be holding it in landscape mode, I presume that a test such as shown in the wiki example but recoded to read 320x480x160, would fail, and then not load the layout.
I need to ensure that the layout is not loaded as landscape.

Have I got this totally wrong?

May I have some advice on this please.
 

enonod

Well-Known Member
Licensed User
Longtime User
Thank you Erel.

I think you are saying that the device returns results dependent upon whether it is 'able' to accept a particular mode landscape or portrait, not which one it is 'in' at the time. Then I set the mode according to the result. If the test fails I give a message saying not compatible.

Can you confirm please that I have now understood the wiki test.
 
Upvote 0

enonod

Well-Known Member
Licensed User
Longtime User
Upvote 0

enonod

Well-Known Member
Licensed User
Longtime User
OK Thank you for that, I will experiment and see when I need help.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…