AndroidManifest.xml 2.45 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="ch.amiv.android_app">

    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

    <!-- To auto-complete the email text field in the login form with the user's emails -->
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_PROFILE" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
17
        android:label="@string/app_name"
18
19
20
21
22
23
        android:roundIcon="@mipmap/ic_launcher_round"
        android:screenOrientation="portrait"
        android:supportsRtl="true"
        android:theme="@style/AppThemeLight">
        <activity
            android:name=".SettingsActivity"
24
            android:label=""
25
26
27
28
29
30
31
            android:parentActivityName=".MainActivity">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="ch.amiv.android_app.MainActivity" />
        </activity>
        <activity
            android:name=".MainActivity"
32
            android:label="@string/app_name"
33
34
35
            android:theme="@style/AppThemeLight"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:windowSoftInputMode="adjustNothing">
36
37
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
38

39
40
41
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
42
43
        <activity
            android:name=".LoginActivity"
44
45
46
            android:label=""
            android:windowSoftInputMode="stateVisible"
            android:configChanges="keyboardHidden|orientation|screenSize">
47
48
49
50
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="ch.amiv.android_app.MainActivity" />
        </activity>
51
52
53
54
55
56
        <activity android:name=".EventDetailActivity"
            android:theme="@style/AppThemeLight">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="ch.amiv.android_app.MainActivity" />
        </activity>
57
58
59
    </application>

</manifest>