I followed what is written on page 107 of the beginners guide:
- I copied the TestLayouts folder and renamed it to TestLayoutVariants
- I renamed TestLayouts.b4a to TestLayoutsVariants.b4a
- I double clicked it to start up Basic4Android
- I chose Tools - Run AVD Manager and started up Emulator1 - Android 2.3.3, API level 10
- If I press Ctrl and F11 the screen turns on its side, giving landscape format, but vertical text. If i do this on my real phone, the text stays horizontal.
- I checked the settings for the display on both (emulator end real phone) and auto-rotate screen is on.
So the problem is in the emulator.
Then I ran the designer and connected it with the emulator.
I get the picture on page 107. In the designer I see 2 Variants:
320 x 480, scale=1 (160 dpi)
480 x 320, scale=1 (160 dpi)
When I select the first or the second, it doesn't make difference regarding the text orientation.
In Basic4Android under Project - Orientations supported I have "Both" selected. If I select there "Landscape" I have the inverse problem : horizontal text in landscape position but vertical text in portrait position.
What setting could generate the behavior as described in the Beginners guide ?
Best regards,
Luc