I am currently developing an Android app on Monaca. I don't know how to set the orientation of the screen.
I looked it up on the Internet and found out that
android:screenOrientation="landscape"
can be added to activity
in AndroidManifest.xml
, but it cannot be controlled.
Does Android 4.4.4 not work?
Please let me know.
android monaca
For Android,
located inconfig.xml
<preference name="Orientation" value="default"/>
Set the value
to portrait
for vertical and landscape
for horizontal.
11/10 Additional
Select Settings
→Android Application Settings
from the Monaca Cloud IDE and scroll to the bottom to see the screen orientation
.
If you select a direction and save it, the above items in config.xml
will be rewritten.
620 GDB gets version error when attempting to debug with the Presense SDK (IDE)
575 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
926 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
577 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.