Android, lock rotation on just one screen


#1

Is there an easy way to lock the rotation on a single screen in nativescript?

Thanks!


#2

You can try with this awesome plugin :slight_smile: I needed orientation-specific css and started to use this today, and noticed that it had ability to lock orientation where you need. I have not tested it tho :slight_smile:

https://www.npmjs.com/package/nativescript-orientation


#3

Thanks, I glanced at that earlier and it seems like a lot to bring in for such a small thing, but I glanced at the source code and was able to get what I needed :slight_smile:

Thanks again!