Commit afe23868d7886948abec02f1b24aaf654737e575

Authored by florian staine
1 parent 5e4dee10

Fix orientation bug

Handle manually orientation change in PositioningActivity, fix to portatrait in Calibration.
Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
app/src/main/AndroidManifest.xml
... ... @@ -6,13 +6,15 @@
6 6 <application
7 7 android:allowBackup="true"
8 8 android:icon="@drawable/map_marker"
  9 + android:roundIcon="@drawable/map_marker"
9 10 android:label="@string/app_name"
10   - android:roundIcon="@mipmap/ic_launcher_round"
11 11 android:supportsRtl="true"
12 12 android:theme="@style/AppTheme">
13 13 <activity
14 14 android:name=".Calibration"
15 15 android:label="@string/app_name"
  16 + android:configChanges="orientation"
  17 + android:screenOrientation="portrait"
16 18 android:theme="@style/AppTheme.NoActionBar">
17 19 <intent-filter>
18 20 <action android:name="android.intent.action.MAIN" />
... ... @@ -27,6 +29,7 @@
27 29 <activity
28 30 android:name=".PositioningActivity"
29 31 android:label="@string/title_activity_positioning"
  32 + android:configChanges="orientation|screenSize"
30 33 android:theme="@style/AppTheme.NoActionBar" >
31 34 </activity>
32 35 </application>
... ...