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.
Your all comments are very sharing and user friendly.This is one of the special post.
ReplyDeleteAndroid app developers