X-Git-Url: http://nitlanguage.org diff --git a/src/android_platform.nit b/src/android_platform.nit index 34dfa25..6dc34f8 100644 --- a/src/android_platform.nit +++ b/src/android_platform.nit @@ -135,19 +135,24 @@ $(call import-module,android/native_app_glue) package="{{{app_package}}}" android:versionCode="1" android:versionName="{{{app_version}}}" - android:debuggable="true"> + android:debuggable="true"> - + + android:theme="@android:style/Theme.NoTitleBar.Fullscreen" + android:configChanges="orientation|keyboardHidden" + android:screenOrientation="portrait"> @@ -201,7 +206,7 @@ $(call import-module,android/native_app_glue) var assets_dir = "{mainmodule_dir}/../assets" if not assets_dir.file_exists then assets_dir = "{mainmodule_dir}/assets" if assets_dir.file_exists then - assets_dir = share_dir.realpath + assets_dir = assets_dir.realpath var target_assets_dir = "{android_project_root}/assets" if not target_assets_dir.file_exists then toolcontext.exec_and_check(["ln", "-s", assets_dir, target_assets_dir])