blob: da5dcaf24923df3cbd913fd980defd9df469caf2 [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" />
Dianne Hackborn041bfcd2013-04-17 10:17:03 -070026 <uses-permission android:name="android.permission.WAKE_LOCK" />
Dianne Hackborn10c33522011-05-27 18:29:00 -070027
Benjamin Weissc84455c2015-06-25 16:17:07 +010028 <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="22" />
Dianne Hackborn10c33522011-05-27 18:29:00 -070029
Dianne Hackbornbe6b6b42011-06-13 13:48:13 -070030 <!-- The smallest screen this app works on is a phone. The app will
31 scale its UI to larger screens but doesn't make good use of them
32 so allow the compatibility mode button to be shown (mostly because
33 this is just convenient for testing). -->
Dianne Hackborn10c33522011-05-27 18:29:00 -070034 <supports-screens android:requiresSmallestWidthDp="320"
35 android:compatibleWidthLimitDp="480" />
36
37 <application android:label="@string/activity_sample_code"
38 android:icon="@drawable/app_sample_code"
Alan Viverettec7c384b2013-08-05 14:28:14 -070039 android:hardwareAccelerated="true"
40 android:supportsRtl="true">
Dianne Hackborn10c33522011-05-27 18:29:00 -070041
42 <activity android:name="Support4Demos">
43 <intent-filter>
44 <action android:name="android.intent.action.MAIN" />
45 <category android:name="android.intent.category.DEFAULT" />
46 <category android:name="android.intent.category.LAUNCHER" />
47 </intent-filter>
48 </activity>
49
50 <activity android:name=".app.SendResult"
51 android:theme="@style/ThemeDialogWhenLarge">
52 </activity>
53
54 <!-- Fragment Support Samples -->
55
56 <activity android:name=".app.FragmentAlertDialogSupport"
57 android:label="@string/fragment_alert_dialog_support">
58 <intent-filter>
59 <action android:name="android.intent.action.MAIN" />
60 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
61 </intent-filter>
62 </activity>
63
64 <activity android:name=".app.FragmentArgumentsSupport"
65 android:label="@string/fragment_arguments_support">
66 <intent-filter>
67 <action android:name="android.intent.action.MAIN" />
68 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
69 </intent-filter>
70 </activity>
71
Romain Guyc35d0582011-07-21 18:05:24 -070072 <activity android:name=".app.FragmentCustomAnimationSupport"
73 android:label="@string/fragment_custom_animation_support">
74 <intent-filter>
75 <action android:name="android.intent.action.MAIN" />
76 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
77 </intent-filter>
78 </activity>
79
Dianne Hackborn10c33522011-05-27 18:29:00 -070080 <activity android:name=".app.FragmentHideShowSupport"
81 android:label="@string/fragment_hide_show_support"
82 android:windowSoftInputMode="stateUnchanged">
83 <intent-filter>
84 <action android:name="android.intent.action.MAIN" />
85 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
86 </intent-filter>
87 </activity>
88
89 <activity android:name=".app.FragmentContextMenuSupport"
90 android:label="@string/fragment_context_menu_support">
91 <intent-filter>
92 <action android:name="android.intent.action.MAIN" />
93 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
94 </intent-filter>
95 </activity>
96
97 <activity android:name=".app.FragmentDialogSupport"
98 android:label="@string/fragment_dialog_support">
99 <intent-filter>
100 <action android:name="android.intent.action.MAIN" />
101 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
102 </intent-filter>
103 </activity>
104
105 <activity android:name=".app.FragmentDialogOrActivitySupport"
106 android:label="@string/fragment_dialog_or_activity_support">
107 <intent-filter>
108 <action android:name="android.intent.action.MAIN" />
109 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
110 </intent-filter>
111 </activity>
112
113 <activity android:name=".app.FragmentLayoutSupport"
114 android:label="@string/fragment_layout_support">
115 <intent-filter>
116 <action android:name="android.intent.action.MAIN" />
117 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
118 </intent-filter>
119 </activity>
120
121 <activity android:name=".app.FragmentListArraySupport"
122 android:label="@string/fragment_list_array_support">
123 <intent-filter>
124 <action android:name="android.intent.action.MAIN" />
125 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
126 </intent-filter>
127 </activity>
128
129 <activity android:name=".app.FragmentLayoutSupport$DetailsActivity" />
130
131 <activity android:name=".app.FragmentMenuSupport"
132 android:label="@string/fragment_menu_support">
133 <intent-filter>
134 <action android:name="android.intent.action.MAIN" />
135 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
136 </intent-filter>
137 </activity>
138
Dianne Hackbornbd783a02012-09-09 14:40:19 -0700139 <activity android:name=".app.FragmentNestingTabsSupport"
140 android:label="@string/fragment_nesting_tabs_support">
141 <intent-filter>
142 <action android:name="android.intent.action.MAIN" />
143 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
144 </intent-filter>
145 </activity>
146
Dianne Hackborn10c33522011-05-27 18:29:00 -0700147 <activity android:name=".app.FragmentRetainInstanceSupport"
148 android:label="@string/fragment_retain_instance_support">
149 <intent-filter>
150 <action android:name="android.intent.action.MAIN" />
151 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
152 </intent-filter>
153 </activity>
154
155 <activity android:name=".app.FragmentReceiveResultSupport"
156 android:label="@string/fragment_receive_result_support">
157 <intent-filter>
158 <action android:name="android.intent.action.MAIN" />
159 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
160 </intent-filter>
161 </activity>
162
163 <activity android:name=".app.FragmentStackSupport"
164 android:label="@string/fragment_stack_support">
165 <intent-filter>
166 <action android:name="android.intent.action.MAIN" />
167 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
168 </intent-filter>
169 </activity>
170
Dianne Hackbornbe6b6b42011-06-13 13:48:13 -0700171 <activity android:name=".app.FragmentTabs"
172 android:label="@string/fragment_tabs">
173 <intent-filter>
174 <action android:name="android.intent.action.MAIN" />
175 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
176 </intent-filter>
177 </activity>
178
179 <activity android:name=".app.FragmentTabsPager"
180 android:label="@string/fragment_tabs_pager">
181 <intent-filter>
182 <action android:name="android.intent.action.MAIN" />
183 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
184 </intent-filter>
185 </activity>
186
Dianne Hackborn10c33522011-05-27 18:29:00 -0700187 <activity android:name=".app.FragmentPagerSupport"
188 android:label="@string/fragment_pager_support">
189 <intent-filter>
190 <action android:name="android.intent.action.MAIN" />
191 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
192 </intent-filter>
193 </activity>
194
Dianne Hackborn7ffb7d42011-06-06 14:03:46 -0700195 <activity android:name=".app.FragmentStatePagerSupport"
196 android:label="@string/fragment_state_pager_support">
197 <intent-filter>
198 <action android:name="android.intent.action.MAIN" />
199 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
200 </intent-filter>
201 </activity>
202
Dianne Hackborn10c33522011-05-27 18:29:00 -0700203 <activity android:name=".app.LoaderCursorSupport"
204 android:label="@string/loader_cursor_support">
205 <intent-filter>
206 <action android:name="android.intent.action.MAIN" />
207 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
208 </intent-filter>
209 </activity>
210
Dianne Hackborn80df91c2012-05-29 13:58:13 -0700211 <activity android:name=".app.LoaderRetainedSupport"
212 android:label="@string/loader_retained_support">
213 <intent-filter>
214 <action android:name="android.intent.action.MAIN" />
215 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
216 </intent-filter>
217 </activity>
218
Dianne Hackbornbe6b6b42011-06-13 13:48:13 -0700219 <activity android:name=".app.LoaderCustomSupport"
220 android:label="@string/loader_custom_support">
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
Dianne Hackborn10c33522011-05-27 18:29:00 -0700227 <activity android:name=".app.LoaderThrottleSupport"
228 android:label="@string/loader_throttle_support">
229 <intent-filter>
230 <action android:name="android.intent.action.MAIN" />
231 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
232 </intent-filter>
233 </activity>
234 <provider android:name=".app.LoaderThrottleSupport$SimpleProvider"
235 android:authorities="com.example.android.apis.supportv4.app.LoaderThrottle" />
236
Dianne Hackborn72ad4ee2011-06-24 14:27:36 -0700237 <activity android:name=".content.LocalServiceBroadcaster"
238 android:label="@string/local_service_broadcaster">
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 <service android:name=".content.LocalServiceBroadcaster$LocalService"
245 android:stopWithTask="true" />
246
Dianne Hackborn041bfcd2013-04-17 10:17:03 -0700247 <activity android:name=".content.SimpleWakefulController"
248 android:label="@string/simple_wakeful_controller">
249 <intent-filter>
250 <action android:name="android.intent.action.MAIN" />
251 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
252 </intent-filter>
253 </activity>
254
255 <receiver android:name=".content.SimpleWakefulReceiver" />
256 <service android:name=".content.SimpleWakefulService" />
257
Svetoslav Ganovbd9f43a2011-10-20 17:07:29 -0700258 <activity android:name=".accessibility.AccessibilityManagerSupportActivity"
259 android:label="@string/accessibility_manager_title">
260 <intent-filter>
261 <action android:name="android.intent.action.MAIN" />
262 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
263 </intent-filter>
264 </activity>
265
266 <activity android:name=".accessibility.AccessibilityDelegateSupportActivity"
267 android:label="@string/accessibility_delegate_title">
268 <intent-filter>
269 <action android:name="android.intent.action.MAIN" />
270 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
271 </intent-filter>
272 </activity>
273
Adam Powell1bc7aaf2011-12-13 20:46:54 -0800274 <activity android:name=".app.SharingSupport"
275 android:label="@string/sharing_support_title">
276 <intent-filter>
277 <action android:name="android.intent.action.MAIN" />
278 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
279 </intent-filter>
280 </activity>
281
282 <activity android:name=".app.SharingReceiverSupport"
283 android:label="@string/sharing_receiver_title">
284 <intent-filter>
285 <action android:name="android.intent.action.SEND" />
286 <action android:name="android.intent.action.SEND_MULTIPLE" />
287 <data android:mimeType="text/plain" />
288 <category android:name="android.intent.category.DEFAULT" />
289 </intent-filter>
290 </activity>
291
Fabrice Di Meglio65e58fe2013-03-12 11:39:09 -0700292 <activity android:name=".text.BidiFormatterSupport"
293 android:label="@string/bidiformatter_support_title">
294 <intent-filter>
295 <action android:name="android.intent.action.MAIN" />
296 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
297 </intent-filter>
298 </activity>
299
Alan Viverette8d3349a2015-08-24 15:41:17 -0400300 <activity android:name=".view.ViewPagerActivity"
301 android:label="@string/view_pager_layout_support">
302 <intent-filter>
303 <action android:name="android.intent.action.MAIN" />
304 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
305 </intent-filter>
306 </activity>
307
Mindy Pereira18152c72013-11-06 16:32:56 -0800308 <activity android:name=".widget.SwipeRefreshLayoutActivity"
309 android:label="@string/swipe"
310 android:theme="@style/ThemeHoloLight">
311 <intent-filter>
312 <action android:name="android.intent.action.MAIN" />
313 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
314 </intent-filter>
315 </activity>
316
Mindy DelliCarpini3e28c842013-08-05 14:19:22 -0700317 <activity android:name=".widget.ContentLoadingProgressBarActivity"
318 android:label="@string/content_loading_progress_bar">
319 <intent-filter>
320 <action android:name="android.intent.action.MAIN" />
321 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
322 </intent-filter>
323 </activity>
324
Adam Powell98c5d4a2013-02-20 11:51:00 -0800325 <activity android:name=".widget.SlidingPaneLayoutActivity"
326 android:label="@string/sliding_pane_layout_support">
327 <intent-filter>
328 <action android:name="android.intent.action.MAIN" />
329 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
330 </intent-filter>
331 </activity>
332
Alan Viverettef8506ea2013-06-06 13:03:52 -0700333 <activity android:name=".widget.ExploreByTouchHelperActivity"
334 android:label="@string/explore_by_touch_helper_support">
335 <intent-filter>
336 <action android:name="android.intent.action.MAIN" />
337 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
338 </intent-filter>
339 </activity>
340
Adam Powell1bc7aaf2011-12-13 20:46:54 -0800341 <provider android:authorities="com.example.supportv4.content.sharingsupportprovider"
342 android:name=".content.SharingSupportProvider" />
343
Jeff Sharkey01ae4532013-03-07 21:21:13 -0800344 <!-- FileProvider Example -->
345
346 <activity android:name=".content.FileProviderExample"
347 android:label="@string/file_provider_example">
348 <intent-filter>
349 <action android:name="android.intent.action.MAIN" />
350 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
351 </intent-filter>
352 </activity>
353
Adam Powell57d28da2015-01-29 16:20:06 -0800354 <activity android:name=".widget.NestedScrollActivity"
355 android:label="@string/nested_scroll">
356 <intent-filter>
357 <action android:name="android.intent.action.MAIN" />
358 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
359 </intent-filter>
360 </activity>
361
Benjamin Weissc84455c2015-06-25 16:17:07 +0100362 <activity android:name=".graphics.RoundedBitmapDrawableActivity"
363 android:label="Graphics/RoundedBitmapDrawable">
364 <intent-filter>
365 <action android:name="android.intent.action.MAIN" />
366 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
367 </intent-filter>
368 </activity>
369
Chris Banes063b68e2015-09-04 07:27:28 +1000370 <activity android:name=".graphics.DrawableCompatActivity"
371 android:label="Graphics/DrawableCompat">
372 <intent-filter>
373 <action android:name="android.intent.action.MAIN" />
374 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
375 </intent-filter>
376 </activity>
377
Jeff Sharkey01ae4532013-03-07 21:21:13 -0800378<!-- BEGIN_INCLUDE(file_provider_declaration) -->
379 <provider
380 android:name="android.support.v4.content.FileProvider"
381 android:authorities="com.example.android.supportv4.my_files"
382 android:grantUriPermissions="true"
383 android:exported="false">
384 <meta-data
385 android:name="android.support.FILE_PROVIDER_PATHS"
386 android:resource="@xml/my_paths" />
387 </provider>
388<!-- END_INCLUDE(file_provider_declaration) -->
389
Dianne Hackbornd2655272013-03-22 11:52:45 -0700390 <activity android:name=".media.TransportControllerActivity"
391 android:label="@string/sample_transport_controller_activity">
392 <intent-filter>
393 <action android:name="android.intent.action.MAIN" />
394 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
395 </intent-filter>
396 </activity>
397
Dianne Hackborn10c33522011-05-27 18:29:00 -0700398 </application>
399</manifest>