1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 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<!-- Declare the contents of this Android application.  The namespace
18     attribute brings in the Android platform namespace, and the package
19     supplies a unique name for the application.  When writing your
20     own application, the package name must be changed from "com.example.*"
21     to come from a domain that you own or have control over. -->
22<manifest xmlns:android="http://schemas.android.com/apk/res/android"
23    package="com.example.android.supportv13">
24
25    <uses-permission android:name="android.permission.READ_CONTACTS" />
26
27    <uses-sdk android:minSdkVersion="13" />
28
29    <!-- The smallest screen this app works on is a phone.  The app will
30         scale its UI to larger screens but doesn't make good use of them
31         so allow the compatibility mode button to be shown (mostly because
32         this is just convenient for testing). -->
33    <supports-screens android:requiresSmallestWidthDp="320"
34            android:compatibleWidthLimitDp="480" />
35
36    <application android:label="@string/activity_sample_code"
37            android:icon="@drawable/app_sample_code"
38            android:hardwareAccelerated="true">
39
40        <activity android:name="Support13Demos">
41            <intent-filter>
42                <action android:name="android.intent.action.MAIN" />
43                <category android:name="android.intent.category.DEFAULT" />
44                <category android:name="android.intent.category.LAUNCHER" />
45            </intent-filter>
46        </activity>
47
48        <!-- Fragment Support Samples -->
49
50        <activity android:name=".app.FragmentNestingPagerSupport"
51                android:label="@string/fragment_nesting_pager_support">
52            <intent-filter>
53                <action android:name="android.intent.action.MAIN" />
54                <category android:name="com.example.android.supportv13.SUPPORT13_SAMPLE_CODE" />
55            </intent-filter>
56        </activity>
57
58        <activity android:name=".app.FragmentNestingStatePagerSupport"
59                android:label="@string/fragment_nesting_state_pager_support">
60            <intent-filter>
61                <action android:name="android.intent.action.MAIN" />
62                <category android:name="com.example.android.supportv13.SUPPORT13_SAMPLE_CODE" />
63            </intent-filter>
64        </activity>
65
66        <activity android:name=".app.FragmentPagerSupport"
67                android:label="@string/fragment_pager_support">
68            <intent-filter>
69                <action android:name="android.intent.action.MAIN" />
70                <category android:name="com.example.android.supportv13.SUPPORT13_SAMPLE_CODE" />
71            </intent-filter>
72        </activity>
73
74        <activity android:name=".app.FragmentStatePagerSupport"
75                android:label="@string/fragment_state_pager_support">
76            <intent-filter>
77                <action android:name="android.intent.action.MAIN" />
78                <category android:name="com.example.android.supportv13.SUPPORT13_SAMPLE_CODE" />
79            </intent-filter>
80        </activity>
81
82        <activity android:name=".app.ActionBarTabsPager"
83                android:label="@string/action_bar_tabs_pager">
84            <intent-filter>
85                <action android:name="android.intent.action.MAIN" />
86                <category android:name="com.example.android.supportv13.SUPPORT13_SAMPLE_CODE" />
87            </intent-filter>
88        </activity>
89
90    </application>
91</manifest>
92