How to configure Secondary display in portrait mode?

Showing results for 
Search instead for 
Did you mean: 

How to configure Secondary display in portrait mode?

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

NXP TechSupport
NXP TechSupport

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

0 Kudos