Detecting landscape left and right Android

Viewed 11

We are building our one camera SDK that supports both the layout orientation ie. Portrait and Landscape. In our SDK to detect landscape orientation, we have just put all the landscape layouts, styles in -land folders. We have a button(other views also) that we are showing on right side always in landscape mode and hence breaking some of the use cases. I want to detect landscape left and landscape right, according to which I want to inflate different views . Any good suggestions around this? 

0 Answers
Related