aboutsummaryrefslogtreecommitdiffstats
path: root/make/resources/android/AndroidManifest-launcher.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-11 17:56:28 +0200
committerSven Gothel <[email protected]>2011-08-11 17:56:28 +0200
commitcc551ca89bf207cafc83e7c8d9b22fd866ec4a26 (patch)
tree4e92726244aa436c2d27a0a71f6ad37f0a026e0c /make/resources/android/AndroidManifest-launcher.xml
parentb893ada668591187ac6866296439811036db2d95 (diff)
NEWT/Android Fix: Display/Screen/Window creation ; ScreenMode Change
- Remove Application Context notion in Screen/Display, use 'jogamp.common.os.android.StaticContext' - Display, Screen and Window construction is Android agnostic allowing simple GLWindow creation. - Android ScreenMode Fix: - Use unrotated screen dimension - Intercept 'orientation' configChange, which keeps running the application in case of a rotation. - ScreenMode Add: getRotatedWidth() / getRotatedHeight(), used for Screen.setScreenSize(..) which reflects the rotates dimension. - ScreenMode: getCurrentMode() allows new, not yet detected, ScreenModes
Diffstat (limited to 'make/resources/android/AndroidManifest-launcher.xml')
-rw-r--r--make/resources/android/AndroidManifest-launcher.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/resources/android/AndroidManifest-launcher.xml b/make/resources/android/AndroidManifest-launcher.xml
index 7ce9693f1..1dfec1cb7 100644
--- a/make/resources/android/AndroidManifest-launcher.xml
+++ b/make/resources/android/AndroidManifest-launcher.xml
@@ -15,6 +15,7 @@
<activity android:name="com.jogamp.android.launcher.NEWTLauncherVersionActivity"
android:finishOnTaskLaunch="true"
android:launchMode="singleTop"
+ android:configChanges="keyboardHidden|orientation"
android:label="@string/activity_v_name"
android:description="@string/activity_v_descr"
>
@@ -26,6 +27,7 @@
<activity android:name="com.jogamp.android.launcher.NEWTLauncherGearsActivity"
android:finishOnTaskLaunch="true"
android:launchMode="singleTop"
+ android:configChanges="keyboardHidden|orientation"
android:label="@string/activity_gears1_name"
android:description="@string/activity_gears1_descr"
>