1
In the android eclipse, when the emulator stay in landscape the program does not change continues in portrait how to solve it.
1
In the android eclipse, when the emulator stay in landscape the program does not change continues in portrait how to solve it.
1
I believe it is some Bug. I also go through these problems on Mac and Windows.
When you press F11, sometimes it changes orientation, sometimes it doesn’t. But the problem only occurs within the application, because when I am on the Android home screen the problem does not occur.
The most correct is to use a physical device to carry out the tests. I only use the Emulator to simulate different screen sizes.
Browser other questions tagged android android-eclipse emulator
You are not signed in. Login or sign up in order to post.
Post some of your code so we understand what you tried to do.
– Victor Stafusa
It would be nice to include your
AndroidManifest.xml
, if you taggedandroid:configChanges" é você quem precisa adaptar o layout, já que a
Activitynão esta sendo reconstruída. Dê uma olhada no método
onConfigurationChangedpara atualizar seu layout usando o
setContentView`.– Wakim
@Wakim on physical device works cool, but in emulator you do not press F11 it changes to landscape but the app continues in portrait.
– Vale
I guess sometimes it’s emulator bug, the method
onConfigChanges
is it called? Taking advantage, to work with emulator/Avd I recommend using Genymotion, which is much faster/easier to use than Avd.– Wakim
@Wakim thanks for the tip I’ll test Genymotion
– Vale