[Android] Improve screen rotation on Android 3.2+

Ludovic Fauvet git at videolan.org
Mon Apr 16 01:34:31 CEST 2012


android | branch: master | Ludovic Fauvet <etix at l0cal.com> | Mon Apr 16 01:31:23 2012 +0200| [b7c74385c70a63b44e24366e108e94cf8d4ee9bd] | committer: Ludovic Fauvet

Improve screen rotation on Android 3.2+

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=b7c74385c70a63b44e24366e108e94cf8d4ee9bd
---

 vlc-android/AndroidManifest.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 0922039..01d4635 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -22,7 +22,7 @@
         android:hardwareAccelerated="true" >
         <activity
             android:name=".gui.MainActivity"
-            android:configChanges="orientation"
+            android:configChanges="orientation|screenSize"
             android:icon="@drawable/icon"
             android:label="@string/app_name"
             android:theme="@android:style/Theme.NoTitleBar" >
@@ -34,7 +34,7 @@
         </activity>
         <activity
             android:name=".gui.SearchActivity"
-            android:configChanges="orientation"
+            android:configChanges="orientation|screenSize"
             android:theme="@android:style/Theme.NoTitleBar" >
             <intent-filter>
                 <action android:name="android.intent.action.SEARCH" />
@@ -63,10 +63,10 @@
         <activity
             android:name=".gui.video.MediaInfoActivity"
             android:theme="@android:style/Theme.NoTitleBar"
-            android:configChanges="orientation" />
+            android:configChanges="orientation|screenSize" />
         <activity
             android:name=".gui.video.VideoPlayerActivity"
-            android:configChanges="orientation"
+            android:configChanges="orientation|screenSize"
             android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />



More information about the Android mailing list