横向模式下的肖像工作台

huangapple go评论95阅读模式
英文:

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)

huangapple
  • 本文由 发表于 2023年2月27日 05:15:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/75575053.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定