英文:
Portrait workbench in landscape mode
问题
android:name=".MainActivity"
android:exported="false"
android:configChanges="orientation|screenSize|keyboard|locale|keyboardHidden|uiModel"
android:screenOrientation="locked"
我不熟悉Android,但我在运行Konstakang的AOST Android 13的RPI4上遇到了类似的问题,或者至少非常相似。壁纸和控制按钮正常旋转,填满了屏幕,但“主”窗口在1280x400分辨率的横屏屏幕上是纵向定向的。图标似乎是无用的。帮助将不胜感激!谢谢,Gregor
尝试了所有可能的标准设置,但没有成功。
英文:
Hope someone can tell me in which file and location I can set this;
android:name=".MainActivity"
android:exported="false"
android:configChanges="orientation|screenSize|keyboard|locale|keyboardHidden|uiModel"
android:screenOrientation="locked"
I'm not familiar with android, but i have same problem or at least very similar on RPI4 running AOST Android 13 by Konstakang. Walpaper, control buttons rotate properly, fill all the screen as should but "main" window is portrait oriented on landscape screen of 1280x400 resolution. Icons are though useless. Help would be very appreciated! Thanks Gregor
Tried all possible standard settings, but no luck.
答案1
得分: 1
这些标签属于应用清单(AndroidManifest.xml),您应该将它们设置在activity
标签内(就像这里:https://stackoverflow.com/a/15718909/15749574)。
英文:
Those tags belong to the app manifest (AndroidManifest.xml), you would set them inside the activity
tag (like here: https://stackoverflow.com/a/15718909/15749574)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论