diff options
Diffstat (limited to 'templates/android_project/AndroidManifest_static.xml')
| -rw-r--r-- | templates/android_project/AndroidManifest_static.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/android_project/AndroidManifest_static.xml b/templates/android_project/AndroidManifest_static.xml new file mode 100644 index 00000000..414bf893 --- /dev/null +++ b/templates/android_project/AndroidManifest_static.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +* raylib Android project template +* +* This template has been created using raylib 1.8 (www.raylib.com) +* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) +* +* Copyright (c) 2014-2017 Ramon Santamaria (@raysan5) +* +--> +<!-- NOTE: Game package name must be unique for every app/game --> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.raylib.game_sample" + android:versionCode="1" + android:versionName="1.0" > + + <uses-sdk android:minSdkVersion="16" /> + <uses-feature android:glEsVersion="0x00020000" android:required="true" /> + <!--<supports-gl-texture android:name="GL_OES_compressed_ETC1_RGB8_texture" android:required="true"/>--> + <!-- We do not have Java code. Therefore android:hasCode is set to false. --> + <application android:allowBackup="false" android:hasCode="false" + android:label="@string/app_name" + android:icon="@drawable/icon" > + <!-- Our activity is the built-in NativeActivity framework class. --> + <activity android:name="android.app.NativeActivity" + android:theme="@android:style/Theme.NoTitleBar.Fullscreen" + android:configChanges="orientation|keyboardHidden|screenSize" + android:screenOrientation="landscape" + android:launchMode="singleTask" + android:clearTaskOnLaunch="true" > + <!-- android:screenOrientation="portrait" --> + + <!-- Tell NativeActivity the name of our .so --> + <meta-data android:name="android.app.lib_name" android:value="raylib_game" /> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> + </application> + +</manifest>
\ No newline at end of file |
