Timeline for How can I disable landscape mode in Android?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 2, 2021 at 14:18 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Used more standard formatting.
|
Dec 1, 2017 at 18:19 | review | Suggested edits | |||
Dec 2, 2017 at 0:48 | |||||
Nov 12, 2014 at 15:37 | comment | added | Rich | That may be an issue with the start up sequence for Android programs. You could try moving the setRequestedOrientation() to onResume()??? | |
Nov 12, 2014 at 10:48 | comment | added | Radu Simionescu | I was using this method, I was calling it in OnCreate then I would read data from some asset files. If I would start the app with device in landscape orientation it would rotate but this would result in erroneously reading those initialization assets, for some weird reason (maybe should have wait for the rotation to finish some how). Using the xml alternative didn't cause this issue. | |
Feb 20, 2012 at 23:22 | history | edited | Volo | CC BY-SA 3.0 |
deleted 9 characters in body
|
Nov 25, 2011 at 14:27 | comment | added | Dori | this can make your activity jump on first load if the device is not in the specified orientation. | |
Oct 18, 2010 at 14:53 | history | answered | Rich | CC BY-SA 2.5 |