<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="ml.adamsprogs.bimba"
    android:installLocation="auto">

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

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".activities.DashActivity" />

        <service
            android:name=".datasources.TimetableDownloader"
            android:exported="false" />

        <activity
            android:name=".activities.SplashActivity"
            android:theme="@style/SplashTheme">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".activities.EditFavouriteActivity" />
        <activity
            android:name=".activities.SettingsActivity"
            android:label="@string/title_activity_settings"
            android:parentActivityName=".activities.DashActivity"
            android:theme="@style/AppTheme" >
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="ml.adamsprogs.bimba.activities.DashActivity" />
        </activity>
        <activity
            android:name=".activities.HelpActivity"
            android:label="@string/title_activity_help"
            android:theme="@style/AppTheme" />

        <service
            android:name=".datasources.VmService"
            android:enabled="true"
            android:exported="false" />

        <activity android:name=".activities.StopSpecifyActivity" />
        <activity
            android:name=".activities.StopActivity"
            android:label="@string/title_activity_stop"
            android:parentActivityName=".activities.StopSpecifyActivity"
            android:theme="@style/AppTheme">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="ml.adamsprogs.bimba.activities.StopSpecifyActivity" />
        </activity>
        <activity
            android:name=".activities.LineSpecifyActivity"
            android:label="@string/title_activity_main"
            android:parentActivityName=".activities.DashActivity"
            android:theme="@style/AppTheme">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="ml.adamsprogs.bimba.activities.DashActivity" />
        </activity>
    </application>

</manifest>