AndroidManifest.xml 1.93 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
33
            android:label="@string/app_name"
            android:theme="@style/AppThemeLight">
34
35
36
37
38
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
39
40
        <activity
            android:name=".LoginActivity"
41
42
43
44
45
            android:label="">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="ch.amiv.android_app.MainActivity" />
        </activity>
46
47
48
    </application>

</manifest>