Can I have a view that renders in portrait even when the configuration is landscape?


I have a view which is forced to landscape orientation using setRequestedOrientation. Nevertheless, I need to implement a design which renders a subview with alpha on top of it — the tricky part is that this subview will itself have portrait orientation. Because of setRequestedOrientation, this other view will render with landscape orientation, which is not what the design specifies.

How can I realize this design?

Source: Android Questions