On Fri, Jan 2, 2015 at 8:56 PM, Nathan nathan.d.mel...@gmail.com wrote:
I wanted to know if it is possible to lock the orientation of an activity
at runtime.
http://stackoverflow.com/questions/2366706/how-to-lock-orientation-during-runtime
That is what I was looking for. Thanks.
On Saturday, January 3, 2015 10:13:20 AM UTC-8, TreKing wrote:
On Fri, Jan 2, 2015 at 8:56 PM, Nathan nathan@gmail.com javascript:
wrote:
I wanted to know if it is possible to lock the orientation of an activity
at runtime.
I wanted to know if it is possible to lock the orientation of an activity
at runtime.
I know it is possible:
1. To restrict a particular activity to portrait or landscape by means
of the manifest file.
2. For the user to restrict all activities to stay in the current
If you can't do it any other way you could make each of your activities
into a library module, then create 2 extensions of each - one with
orientation locked in the manifest and the other not. Now simply choose
which activity to start with your lock orientation setting!
On Jan 2, 2015 9:57 PM,
4 matches
Mail list logo