How to configure Secondary display in portrait mode?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure Secondary display in portrait mode?

261 Views
sumanthg
Contributor II

Android OS ; Marshmallow 6.0.1

Processor used : imx 6 dual plus

fb0 is connected to primary display and fb2 is connected to secondary display. 

mirroring works perfectly. But i want to configure primary display in landscape mode and secondary display in portrait mode. 

How to configure the secondary display in portrait mode? I have tried changed surface of the secondary display using 

surface.rotation_270 in framework/base , but the secondary display view has been changed to portrait. but displaying view not rendering to the full screen.  

It displaying as portrait mode in center of the display, but the expected behavior is to display in full screen.

0 Kudos
1 Reply

121 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the link as below. hope helpful for you

https://community.nxp.com/thread/330816 

0 Kudos