1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<manifest android:versionCode="1"
18        android:versionName="1"
19        xmlns:android="http://schemas.android.com/apk/res/android"
20        package="com.example.android.appnavigation">
21
22    <application android:label="@string/app_name">
23        <activity android:name=".app.AppNavHomeActivity"
24                android:label="@string/app_nav_home_label">
25            <intent-filter>
26                <action android:name="android.intent.action.MAIN" />
27                <category android:name="android.intent.category.LAUNCHER" />
28            </intent-filter>
29        </activity>
30
31        <activity android:name=".app.SimpleUpActivity"
32                  android:label="@string/simple_up_label"
33                  android:parentActivityName=".app.AppNavHomeActivity">
34            <intent-filter>
35                <action android:name="android.intent.action.MAIN" />
36                <category android:name="android.intent.category.SAMPLE_CODE" />
37            </intent-filter>
38            <meta-data android:name="android.support.PARENT_ACTIVITY"
39                       android:value=".app.AppNavHomeActivity" />
40        </activity>
41
42        <activity android:name=".app.PeerActivity"
43                  android:label="@string/peer_label"
44                  android:parentActivityName=".app.AppNavHomeActivity">
45            <intent-filter>
46                <action android:name="android.intent.action.MAIN" />
47                <category android:name="android.intent.category.SAMPLE_CODE" />
48            </intent-filter>
49            <meta-data android:name="android.support.PARENT_ACTIVITY"
50                       android:value=".app.AppNavHomeActivity" />
51        </activity>
52
53        <activity android:name=".app.ViewFromOtherTaskActivity"
54                  android:label="@string/view_from_other_task_label"
55                  android:parentActivityName=".app.AppNavHomeActivity">
56            <intent-filter>
57                <action android:name="android.intent.action.MAIN" />
58                <category android:name="android.intent.category.SAMPLE_CODE" />
59            </intent-filter>
60            <meta-data android:name="android.support.PARENT_ACTIVITY"
61                       android:value=".app.AppNavHomeActivity" />
62        </activity>
63
64        <activity android:name=".app.OutsideTaskActivity"
65                  android:label="@string/outside_task_label"
66                  android:theme="@style/Theme.Light"
67                  android:taskAffinity="com.example.android.appnavigation.outsidetask">
68            <intent-filter>
69                <action android:name="android.intent.action.MAIN" />
70                <category android:name="android.intent.category.DEFAULT" />
71            </intent-filter>
72        </activity>
73
74        <activity android:name=".app.ContentViewActivity"
75                  android:label="@string/content_view_label"
76                  android:parentActivityName=".app.ContentCategoryActivity">
77            <intent-filter>
78                <action android:name="android.intent.action.MAIN" />
79                <action android:name="android.intent.action.VIEW" />
80                <data android:mimeType="application/x-example" />
81                <category android:name="android.intent.category.DEFAULT" />
82            </intent-filter>
83            <meta-data android:name="android.support.PARENT_ACTIVITY"
84                       android:value=".app.ContentCategoryActivity" />
85        </activity>
86
87        <activity android:name=".app.ContentCategoryActivity"
88                  android:label="@string/content_category_label"
89                  android:parentActivityName=".app.AppNavHomeActivity">
90            <intent-filter>
91                <action android:name="android.intent.action.MAIN" />
92                <category android:name="android.intent.category.SAMPLE_CODE" />
93            </intent-filter>
94            <meta-data android:name="android.support.PARENT_ACTIVITY"
95                       android:value=".app.AppNavHomeActivity" />
96        </activity>
97
98        <activity android:name=".app.NotificationsActivity"
99                  android:label="@string/notifications_label"
100                  android:parentActivityName=".app.AppNavHomeActivity">
101            <intent-filter>
102                <action android:name="android.intent.action.MAIN" />
103                <category android:name="android.intent.category.SAMPLE_CODE" />
104            </intent-filter>
105            <meta-data android:name="android.support.PARENT_ACTIVITY"
106                       android:value=".app.AppNavHomeActivity" />
107        </activity>
108
109        <activity android:name=".app.InterstitialMessageActivity"
110                  android:label="@string/interstitial_label"
111                  android:theme="@style/Theme.Dialog"
112                  android:launchMode="singleTask"
113                  android:excludeFromRecents="true"
114                  android:taskAffinity="">
115            <intent-filter>
116                <action android:name="android.intent.action.MAIN" />
117            </intent-filter>
118        </activity>
119    </application>
120</manifest>
121