AndroidManifest.xml 5.58 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<?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" />
13
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
14
15

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

41
42
43
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
44
        <activity
45
            android:name=".core.LoginActivity"
46
            android:configChanges="keyboardHidden|orientation|layoutDirection|screenSize|locale"
47
            android:label=""
48
            android:windowSoftInputMode="stateVisible">
49
50
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
51
                android:value="ch.amiv.android_app.core.MainActivity" />
52
        </activity>
53
        <activity
54
55
56
57
58
59
60
61
62
            android:name=".events.EventDetailActivity"
            android:configChanges="orientation|layoutDirection|locale"
            android:theme="@style/AppThemeLight">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="ch.amiv.android_app.core.MainActivity" />
        </activity>
        <activity
            android:name=".jobs.JobDetailActivity"
63
            android:configChanges="orientation|layoutDirection|locale"
64
65
66
            android:theme="@style/AppThemeLight">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
67
                android:value="ch.amiv.android_app.core.MainActivity" />
68
        </activity>
Roger Barton's avatar
Roger Barton committed
69
70
        <activity
            android:name=".checkin.BarcodeIdActivity"
71
            android:configChanges="layoutDirection|locale"
Roger Barton's avatar
Roger Barton committed
72
73
            android:parentActivityName=".core.MainActivity"
            android:screenOrientation="portrait"></activity>
74
75
76
77

        <!-- Checkin -->
        <activity
            android:name=".checkin.MainActivity"
Roger Barton's avatar
Roger Barton committed
78
            android:label="@string/app_name_checkin"
79
            android:screenOrientation="portrait"
Roger Barton's avatar
Roger Barton committed
80
81
82
            android:theme="@style/CheckinTheme"></activity>
        <activity
            android:name=".checkin.ScanActivity"
83
            android:label="@string/app_name_checkin"
84
            android:screenOrientation="portrait"
Roger Barton's avatar
Roger Barton committed
85
            android:theme="@style/CheckinTheme">
86
87
88
89
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".checkin.MainActivity" />
        </activity>
Roger Barton's avatar
Roger Barton committed
90
91
        <activity
            android:name=".checkin.SettingsActivity"
92
            android:label="@string/app_name_checkin"
Roger Barton's avatar
Roger Barton committed
93
            android:screenOrientation="portrait"
94
95
96
97
98
            android:theme="@style/CheckinTheme">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".checkin.MainActivity" />
        </activity>
Roger Barton's avatar
Roger Barton committed
99
100
101
102
        <activity
            android:name=".checkin.MemberListActivity"
            android:label="@string/app_name_checkin"
            android:theme="@style/CheckinTheme">
103
104
105
            <intent-filter>
                <action android:name="android.intent.action.SEARCH" />
            </intent-filter>
Roger Barton's avatar
Roger Barton committed
106
107
108
109

            <meta-data
                android:name="android.app.searchable"
                android:resource="@xml/checkin_searchable" />
110
111
112
113
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".checkin.ScanActivity" />
        </activity>
Roger Barton's avatar
Roger Barton committed
114
115
116
117
        <activity
            android:name=".checkin.SearchMembersActivity"
            android:label="@string/app_name_checkin"
            android:theme="@style/CheckinTheme">
118
119
120
121
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".checkin.MemberListActivity" />
        </activity>
Roger Barton's avatar
Roger Barton committed
122
123
124
125
126
127
128
129
        
        <!-- Demo -->
        <activity android:name=".demo.MainActivity"
            android:configChanges="layoutDirection|locale"
            android:parentActivityName=".core.MainActivity"
            android:screenOrientation="portrait">
            
        </activity>
130
131
132
    </application>

</manifest>