blob: 6d71b039afec1ece064071d43f820d6e5d289475 [file] [log] [blame]
Dianne Hackborn10c33522011-05-27 18:29:00 -07001<?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.supportv4">
24
25 <uses-permission android:name="android.permission.READ_CONTACTS" />
26
Dianne Hackborn7ffb7d42011-06-06 14:03:46 -070027 <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="13" />
Dianne Hackborn10c33522011-05-27 18:29:00 -070028
Dianne Hackbornbe6b6b42011-06-13 13:48:13 -070029 <!-- 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). -->
Dianne Hackborn10c33522011-05-27 18:29:00 -070033 <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="Support4Demos">
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 <activity android:name=".app.SendResult"
49 android:theme="@style/ThemeDialogWhenLarge">
50 </activity>
51
52 <!-- Fragment Support Samples -->
53
54 <activity android:name=".app.FragmentAlertDialogSupport"
55 android:label="@string/fragment_alert_dialog_support">
56 <intent-filter>
57 <action android:name="android.intent.action.MAIN" />
58 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
59 </intent-filter>
60 </activity>
61
62 <activity android:name=".app.FragmentArgumentsSupport"
63 android:label="@string/fragment_arguments_support">
64 <intent-filter>
65 <action android:name="android.intent.action.MAIN" />
66 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
67 </intent-filter>
68 </activity>
69
Romain Guyc35d0582011-07-21 18:05:24 -070070 <activity android:name=".app.FragmentCustomAnimationSupport"
71 android:label="@string/fragment_custom_animation_support">
72 <intent-filter>
73 <action android:name="android.intent.action.MAIN" />
74 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
75 </intent-filter>
76 </activity>
77
Dianne Hackborn10c33522011-05-27 18:29:00 -070078 <activity android:name=".app.FragmentHideShowSupport"
79 android:label="@string/fragment_hide_show_support"
80 android:windowSoftInputMode="stateUnchanged">
81 <intent-filter>
82 <action android:name="android.intent.action.MAIN" />
83 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
84 </intent-filter>
85 </activity>
86
87 <activity android:name=".app.FragmentContextMenuSupport"
88 android:label="@string/fragment_context_menu_support">
89 <intent-filter>
90 <action android:name="android.intent.action.MAIN" />
91 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
92 </intent-filter>
93 </activity>
94
95 <activity android:name=".app.FragmentDialogSupport"
96 android:label="@string/fragment_dialog_support">
97 <intent-filter>
98 <action android:name="android.intent.action.MAIN" />
99 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
100 </intent-filter>
101 </activity>
102
103 <activity android:name=".app.FragmentDialogOrActivitySupport"
104 android:label="@string/fragment_dialog_or_activity_support">
105 <intent-filter>
106 <action android:name="android.intent.action.MAIN" />
107 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
108 </intent-filter>
109 </activity>
110
111 <activity android:name=".app.FragmentLayoutSupport"
112 android:label="@string/fragment_layout_support">
113 <intent-filter>
114 <action android:name="android.intent.action.MAIN" />
115 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
116 </intent-filter>
117 </activity>
118
119 <activity android:name=".app.FragmentListArraySupport"
120 android:label="@string/fragment_list_array_support">
121 <intent-filter>
122 <action android:name="android.intent.action.MAIN" />
123 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
124 </intent-filter>
125 </activity>
126
127 <activity android:name=".app.FragmentLayoutSupport$DetailsActivity" />
128
129 <activity android:name=".app.FragmentMenuSupport"
130 android:label="@string/fragment_menu_support">
131 <intent-filter>
132 <action android:name="android.intent.action.MAIN" />
133 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
134 </intent-filter>
135 </activity>
136
137 <activity android:name=".app.FragmentRetainInstanceSupport"
138 android:label="@string/fragment_retain_instance_support">
139 <intent-filter>
140 <action android:name="android.intent.action.MAIN" />
141 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
142 </intent-filter>
143 </activity>
144
145 <activity android:name=".app.FragmentReceiveResultSupport"
146 android:label="@string/fragment_receive_result_support">
147 <intent-filter>
148 <action android:name="android.intent.action.MAIN" />
149 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
150 </intent-filter>
151 </activity>
152
153 <activity android:name=".app.FragmentStackSupport"
154 android:label="@string/fragment_stack_support">
155 <intent-filter>
156 <action android:name="android.intent.action.MAIN" />
157 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
158 </intent-filter>
159 </activity>
160
Dianne Hackbornbe6b6b42011-06-13 13:48:13 -0700161 <activity android:name=".app.FragmentTabs"
162 android:label="@string/fragment_tabs">
163 <intent-filter>
164 <action android:name="android.intent.action.MAIN" />
165 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
166 </intent-filter>
167 </activity>
168
169 <activity android:name=".app.FragmentTabsPager"
170 android:label="@string/fragment_tabs_pager">
171 <intent-filter>
172 <action android:name="android.intent.action.MAIN" />
173 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
174 </intent-filter>
175 </activity>
176
Dianne Hackborn10c33522011-05-27 18:29:00 -0700177 <activity android:name=".app.FragmentPagerSupport"
178 android:label="@string/fragment_pager_support">
179 <intent-filter>
180 <action android:name="android.intent.action.MAIN" />
181 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
182 </intent-filter>
183 </activity>
184
Dianne Hackborn7ffb7d42011-06-06 14:03:46 -0700185 <activity android:name=".app.FragmentStatePagerSupport"
186 android:label="@string/fragment_state_pager_support">
187 <intent-filter>
188 <action android:name="android.intent.action.MAIN" />
189 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
190 </intent-filter>
191 </activity>
192
Dianne Hackborn10c33522011-05-27 18:29:00 -0700193 <activity android:name=".app.LoaderCursorSupport"
194 android:label="@string/loader_cursor_support">
195 <intent-filter>
196 <action android:name="android.intent.action.MAIN" />
197 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
198 </intent-filter>
199 </activity>
200
Dianne Hackbornbe6b6b42011-06-13 13:48:13 -0700201 <activity android:name=".app.LoaderCustomSupport"
202 android:label="@string/loader_custom_support">
203 <intent-filter>
204 <action android:name="android.intent.action.MAIN" />
205 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
206 </intent-filter>
207 </activity>
208
Dianne Hackborn10c33522011-05-27 18:29:00 -0700209 <activity android:name=".app.LoaderThrottleSupport"
210 android:label="@string/loader_throttle_support">
211 <intent-filter>
212 <action android:name="android.intent.action.MAIN" />
213 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
214 </intent-filter>
215 </activity>
216 <provider android:name=".app.LoaderThrottleSupport$SimpleProvider"
217 android:authorities="com.example.android.apis.supportv4.app.LoaderThrottle" />
218
Dianne Hackborn72ad4ee2011-06-24 14:27:36 -0700219 <activity android:name=".content.LocalServiceBroadcaster"
220 android:label="@string/local_service_broadcaster">
221 <intent-filter>
222 <action android:name="android.intent.action.MAIN" />
223 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
224 </intent-filter>
225 </activity>
226 <service android:name=".content.LocalServiceBroadcaster$LocalService"
227 android:stopWithTask="true" />
228
Svetoslav Ganovbd9f43a2011-10-20 17:07:29 -0700229 <activity android:name=".accessibility.AccessibilityManagerSupportActivity"
230 android:label="@string/accessibility_manager_title">
231 <intent-filter>
232 <action android:name="android.intent.action.MAIN" />
233 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
234 </intent-filter>
235 </activity>
236
237 <activity android:name=".accessibility.AccessibilityDelegateSupportActivity"
238 android:label="@string/accessibility_delegate_title">
239 <intent-filter>
240 <action android:name="android.intent.action.MAIN" />
241 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
242 </intent-filter>
243 </activity>
244
Dianne Hackborn10c33522011-05-27 18:29:00 -0700245 </application>
246</manifest>