Home | History | Annotate | Download | only in SupportAppNavigation
      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.support.appnavigation">
     21 
     22     <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15" />
     23 
     24     <application android:label="@string/app_name">
     25         <activity android:name=".app.AppNavHomeActivity"
     26                 android:label="@string/app_nav_home_label">
     27             <intent-filter>
     28                 <action android:name="android.intent.action.MAIN" />
     29                 <category android:name="android.intent.category.LAUNCHER" />
     30             </intent-filter>
     31         </activity>
     32 
     33         <activity android:name=".app.SimpleUpActivity"
     34                   android:label="@string/simple_up_label">
     35             <intent-filter>
     36                 <action android:name="android.intent.action.MAIN" />
     37                 <category android:name="android.intent.category.SAMPLE_CODE" />
     38             </intent-filter>
     39             <meta-data android:name="android.support.PARENT_ACTIVITY"
     40                        android:value=".app.AppNavHomeActivity" />
     41         </activity>
     42 
     43         <activity android:name=".app.PeerActivity"
     44                   android:label="@string/peer_label">
     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             <intent-filter>
     56                 <action android:name="android.intent.action.MAIN" />
     57                 <category android:name="android.intent.category.SAMPLE_CODE" />
     58             </intent-filter>
     59             <meta-data android:name="android.support.PARENT_ACTIVITY"
     60                        android:value=".app.AppNavHomeActivity" />
     61         </activity>
     62 
     63         <activity android:name=".app.OutsideTaskActivity"
     64                   android:label="@string/outside_task_label"
     65                   android:theme="@style/Theme.Light"
     66                   android:taskAffinity="com.example.android.appnavigation.outsidetask">
     67             <intent-filter>
     68                 <action android:name="android.intent.action.MAIN" />
     69                 <category android:name="android.intent.category.DEFAULT" />
     70             </intent-filter>
     71         </activity>
     72 
     73         <activity android:name=".app.ContentViewActivity"
     74                   android:label="@string/content_view_label">
     75             <intent-filter>
     76                 <action android:name="android.intent.action.MAIN" />
     77                 <action android:name="android.intent.action.VIEW" />
     78                 <data android:mimeType="application/x-example" />
     79                 <category android:name="android.intent.category.DEFAULT" />
     80             </intent-filter>
     81             <meta-data android:name="android.support.PARENT_ACTIVITY"
     82                        android:value=".app.ContentCategoryActivity" />
     83         </activity>
     84 
     85         <activity android:name=".app.ContentCategoryActivity"
     86                   android:label="@string/content_category_label">
     87             <intent-filter>
     88                 <action android:name="android.intent.action.MAIN" />
     89                 <category android:name="android.intent.category.SAMPLE_CODE" />
     90             </intent-filter>
     91             <meta-data android:name="android.support.PARENT_ACTIVITY"
     92                        android:value=".app.AppNavHomeActivity" />
     93         </activity>
     94 
     95         <activity android:name=".app.NotificationsActivity"
     96                   android:label="@string/notifications_label">
     97             <intent-filter>
     98                 <action android:name="android.intent.action.MAIN" />
     99                 <category android:name="android.intent.category.SAMPLE_CODE" />
    100             </intent-filter>
    101             <meta-data android:name="android.support.PARENT_ACTIVITY"
    102                        android:value=".app.AppNavHomeActivity" />
    103         </activity>
    104 
    105         <activity android:name=".app.InterstitialMessageActivity"
    106                   android:label="@string/interstitial_label"
    107                   android:theme="@style/Theme.Dialog"
    108                   android:launchMode="singleTask"
    109                   android:excludeFromRecents="true"
    110                   android:taskAffinity="">
    111             <intent-filter>
    112                 <action android:name="android.intent.action.MAIN" />
    113             </intent-filter>
    114         </activity>
    115     </application>
    116 </manifest>
    117