Skip to content

Commit

Permalink
Fixes #100: Device orientation and handling orientation change
Browse files Browse the repository at this point in the history
Signed-off-by: Anupam Das <[email protected]>
  • Loading branch information
opticod committed Dec 24, 2017
1 parent 3fcfc61 commit 2c47b51
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<activity
android:name="org.havenapp.main.ListActivity"
android:label="@string/title_activity_start"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand All @@ -33,15 +34,16 @@
<activity
android:name="org.havenapp.main.SettingsActivity"
android:label="@string/title_activity_start"
android:configChanges="orientation|screenSize"
android:windowSoftInputMode="stateHidden" />
<activity android:name="org.havenapp.main.ui.PPAppIntro"
android:screenOrientation="portrait"
/>
<activity
android:name="org.havenapp.main.MonitorActivity"
android:label="@string/app_name"
android:launchMode="singleTop"
android:screenOrientation="portrait" />
android:configChanges="orientation|screenSize"
android:launchMode="singleTop" />

<service android:name="org.havenapp.main.service.MonitorService"
android:exported="false" />
Expand All @@ -62,6 +64,7 @@
<activity
android:name="org.havenapp.main.ui.EventActivity"
android:label="@string/title_activity_event"
android:configChanges="orientation|screenSize"
android:theme="@style/AppTheme" />
<activity android:name="org.havenapp.main.ui.MicrophoneConfigureActivity"
android:screenOrientation="portrait"/>
Expand Down

0 comments on commit 2c47b51

Please sign in to comment.