We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea5f7eb + 640c803 commit 462ca97Copy full SHA for 462ca97
ParseUI-Login/src/main/java/com/parse/ui/ParseLoginActivity.java
@@ -89,6 +89,9 @@ public class ParseLoginActivity extends FragmentActivity implements
89
public void onCreate(Bundle savedInstanceState) {
90
super.onCreate(savedInstanceState);
91
92
+ // Disable landscape
93
+ this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
94
+
95
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
96
97
// Combine options from incoming intent and the activity metadata
0 commit comments