Android Application Development Tutorial - 43 - Set Fixed Screen Orientation
Top Comments
All Comments (33)
-
I learned more in these 5 minutes videos then in a whole semester on Operating Systems course. Its sad how my proffesor is super exited about talking about the theory of android programming but does not know that you have to add a class name to the manifest inorder for the program to be recognized by android. I'm really happy videos like this exist on youtube.
-
@Xonarial Note: Using this attribute should be avoided and used only as a last-resort.
-
@abhishek072 Are you programming in eclipse? Try with keyboardHidden added: android:configChanges="keyboar
dHidden|orientation" -
Ctrl + F11 and F12 works for me, thanks
-
It needs to work, else you're doing something wrong. Try again, check if there are any errors.
-
@Xonarial not working? Android 4.0.3 ?
-
A long time ago, I started watching these tutorials, and I got confused. Started reading "The Busy Coders Guide to Android Development" and found it incredibly boring. Came back to these, and realised I'd made a big mistake! Thanks so much for the time you took in making these tutorials.
-
Thank you for all this!
-
Hahaa I was waiting for you to call that splash sound annoying the entire 43 series whenever you started the avd^^
-
Awesome videos. Travis you rock!
Use android:configChanges="orientation" instead of android:screenOrientation="portrait". This way, the activity doesn't has to restart when the screen orientation is changed, so your taken picture is still there!
Xonarial 6 months ago 42
Thanks for all your time and effort Travis I really appreciate this.
rbdjohnson1 5 months ago 14