Home
> Android Dev > Android Application Screen Orientation issues
Android Application Screen Orientation issues
Screen Orientation issues to know when designing Android Application
1. To design application in Portrait Mode only add screen orientation attribute in manifest.xml, make sure you add inside activity,
android:screenOrientation="portrait"
2. Sometimes views/Controls in the application initializes on change in Orientation. add android:configChanges in manifest.xml, inside activity attribute
android:configChanges="Orientation"
wish to manipulate with Keyboard use
android:configChanges="keyboardHidden|Orientation"
this is more useful when application is installed on hard keyboard devices.
Advertisements
Categories: Android Dev
Your all comments are very sharing and user friendly.This is one of the special post.Android app developers