android fixed landscape code example Example: how lock horizontal orientation android setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);