How can I disable landscape mode for some of the views in my Android app?
In kotlin same can be programatically achieved using below
requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT