How do I make sure my app is only for vertical layout?
I have tried android:screenOrientation=\"portrait\" but that doesn\'t seem to do the trick.
android:screenOrientation=\"portrait\"
Add android:configChanges="keyboardHidden|orientation" to the activity.
android:configChanges="keyboardHidden|orientation"