Page 1 of 1

Can I prevent screen rotation on specific screens ?

Posted: Mon Jul 08, 2013 8:24 pm
by Ian Bussières

I would like specific screens to stay put even if a user rotates his phone. For example, a signup page would stay portait and never go landscape.

Is this possible ? How ?


Can I prevent screen rotation on specific screens ?

Posted: Mon Jul 08, 2013 8:50 pm
by Maryna Brodina

Can I prevent screen rotation on specific screens ?

Posted: Mon Jul 08, 2013 11:25 pm
by Ian Bussières

Your answers are iPhone-specific. I'm guessing by this time that Appery does not have anything to globally manage the rotating accross platforms ?


Can I prevent screen rotation on specific screens ?

Posted: Tue Jul 09, 2013 5:46 am
by Kateryna Grynko

Ian, yes, you're right.


Can I prevent screen rotation on specific screens ?

Posted: Tue Jul 09, 2013 5:57 am
by Kateryna Grynko

http://stackoverflow.com/questions/67...
http://stackoverflow.com/questions/65...

For Android, add codeandroid:screenOrientation="portrait"/code for each activity. in the file AndroidManifest.xml and compile the project.