java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
In android Oreo (API 26) you can not change orientation for Activity that have below line(s) in style <item name=”android:windowIsTranslucent”>true</item> or <item name=”android:windowIsFloating”>true</item> You have several way to solving this : 1) You can simply remove above line(s) (or turn it to false) and your app works fine. 2) Or you can first remove below … Read more