How to set the main screen display in Landscape and Portrait in a config-able way.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set the main screen display in Landscape and Portrait in a config-able way.

974件の閲覧回数
13614278
Contributor III

We're running Android 9.0 on IMX8MINI. We had a display screen, without gravity sensor.

There're 2 different customer's products for this:

1. One customer wants to have the launcher on the screen displayed in Portrait

2. The other customer wants to let it in Landscape.

We knew changing the AndroidManifest.xml in Launcher3 APK may work. But we're seeking if there's any config-able way to set this(such as modify the product BoardConfig.mk, modify some kind of property value, or something else), because we want to using the same source code, as we have many customers, we can't do this with different source code.

0 件の賞賛
返信
1 返信

969件の閲覧回数
b36401
NXP Employee
NXP Employee

Please try to add "ROTATION := 90" or 270 into BoardConfig.mk.

0 件の賞賛
返信