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.

972 次查看
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 回复

967 次查看
b36401
NXP Employee
NXP Employee

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

0 项奖励
回复