Skip to content

Commit

Permalink
Set screen orientation to portrait only in all activities, issue #38 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
letelete committed Sep 12, 2018
1 parent bef4bc5 commit e9e75cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions SleepCycleAlarm/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.SleepCycleTheme">
<activity android:name=".MainActivity">
<activity android:name=".MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity android:name=".ui.menu.MenuActivity">
<activity android:name=".ui.menu.MenuActivity"
android:label="@string/app_name"
android:screenOrientation="portrait">
</activity>
</application>

Expand Down

0 comments on commit e9e75cc

Please sign in to comment.