I have an an android app whose UI is support both Mobile Phone and Tablet.
Phone Version only supports Portrait Mode, where Tablet supports both Landscape and Portrait.
In my app, i can know which device it runs on. The challenge is that how to write something in build.setting to control orientation, i.e, if the target device is a tablet, my app can support both landscape and portrait, but if it’s a phone, then it support only portrait mode.
Anyone has any idea?