aboutsummaryrefslogtreecommitdiff
path: root/templates/android_project/AndroidManifest.xml
blob: 6755027e6729992c1d7c8aa04946fe9563da720c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8"?>
<!--
*   raylib Android project template
*
*   This template has been created using raylib 1.2 (www.raylib.com)
*   raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
*   Copyright (c) 2014 Ramon Santamaria (Ray San - raysan@raysanweb.com)
*
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
        package="com.raysan5.raylib_test" 
        android:versionCode="1" 
        android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" />
    <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"
                android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" >
        <!-- Our activity is the built-in NativeActivity framework class. -->
        <activity android:name="android.app.NativeActivity"
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:screenOrientation="landscape"
                android:clearTaskOnLaunch="true" >
                <!-- android:theme="@android:style/Theme.NoTitleBar.Fullscreen" -->
                <!-- 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>