最佳答案
How to fix layout orientation to portrait and do not allow changing from portrait to landscape during run time?