AnsweredAssumed Answered

How to configure Secondary display in portrait mode?

Question asked by sumanth g on Nov 22, 2017
Latest reply on Dec 1, 2017 by Joan Xie

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.

Outcomes