blob: e1a0f98ae14c634378da9f1113591a08a116e347 [file] [log] [blame]
Jeff Brownbda0c732013-03-19 17:06:22 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 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.supportv7">
Chong Zhang036c81a2013-06-19 22:35:54 -070024 <!-- Permission for INTERNET is required for streaming video content
25 from the web, it's not required otherwise. -->
26 <uses-permission android:name="android.permission.INTERNET" />
27 <!-- Permission for SYSTEM_ALERT_WINDOW is only required for emulating
28 remote display using system alert window. -->
29 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
Chris Banes170658d2014-05-19 16:32:48 +010030 <!-- Permission for READ_EXTERNAL_STORAGE is explicitly required for
31 reading images from the media store from API v19+. -->
32 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Jeff Brownbda0c732013-03-19 17:06:22 -070033
Chris Banescbeaa032014-08-11 11:30:12 +010034 <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="21" />
Jeff Brownbda0c732013-03-19 17:06:22 -070035
36 <!-- The smallest screen this app works on is a phone. The app will
37 scale its UI to larger screens but doesn't make good use of them
38 so allow the compatibility mode button to be shown (mostly because
39 this is just convenient for testing). -->
40 <supports-screens android:requiresSmallestWidthDp="320"
41 android:compatibleWidthLimitDp="480" />
42
43 <application android:label="@string/activity_sample_code"
Yigit Boyar7cbaf602014-03-21 14:13:49 -070044 android:supportsRtl="true"
Jeff Brownbda0c732013-03-19 17:06:22 -070045 android:icon="@drawable/app_sample_code"
46 android:hardwareAccelerated="true">
47
48 <activity android:name="Support7Demos">
49 <intent-filter>
50 <action android:name="android.intent.action.MAIN" />
51 <category android:name="android.intent.category.DEFAULT" />
52 <category android:name="android.intent.category.LAUNCHER" />
53 </intent-filter>
54 </activity>
Chong Zhang620b29a2013-08-08 21:47:06 -070055 <receiver android:name="com.example.android.supportv7.media.SampleMediaButtonReceiver">
56 <intent-filter>
57 <action android:name="android.intent.action.MEDIA_BUTTON" />
58 </intent-filter>
59 </receiver>
Jeff Brownbda0c732013-03-19 17:06:22 -070060 <!-- MediaRouter Support Samples -->
61
62 <activity android:name=".media.SampleMediaRouterActivity"
Jaewan Kim5d04bdb2015-08-24 20:03:45 +090063 android:configChanges="orientation|screenSize"
Jeff Brown5d41beb2013-04-29 18:20:26 -070064 android:label="@string/sample_media_router_activity_dark"
Jae Seo2bd1f622015-10-06 18:32:28 -070065 android:theme="@style/Theme.SampleMediaRouter">
Jeff Brown5d41beb2013-04-29 18:20:26 -070066 <intent-filter>
67 <action android:name="android.intent.action.MAIN" />
68 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
69 </intent-filter>
70 </activity>
71
72 <activity android:name=".media.SampleMediaRouterActivity$Light"
Jaewan Kim5d04bdb2015-08-24 20:03:45 +090073 android:configChanges="orientation|screenSize"
Jeff Brown5d41beb2013-04-29 18:20:26 -070074 android:label="@string/sample_media_router_activity_light"
Jae Seo2bd1f622015-10-06 18:32:28 -070075 android:theme="@style/Theme.SampleMediaRouter.Light">
Jeff Brown5d41beb2013-04-29 18:20:26 -070076 <intent-filter>
77 <action android:name="android.intent.action.MAIN" />
78 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
79 </intent-filter>
80 </activity>
81
82 <activity android:name=".media.SampleMediaRouterActivity$LightWithDarkActionBar"
Jaewan Kim5d04bdb2015-08-24 20:03:45 +090083 android:configChanges="orientation|screenSize"
Jeff Brown5d41beb2013-04-29 18:20:26 -070084 android:label="@string/sample_media_router_activity_light_with_dark_action_bar"
Jae Seo2bd1f622015-10-06 18:32:28 -070085 android:theme="@style/Theme.SampleMediaRouter.Light.DarkActionBar">
Jeff Brownbda0c732013-03-19 17:06:22 -070086 <intent-filter>
87 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -070088 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brownbda0c732013-03-19 17:06:22 -070089 </intent-filter>
90 </activity>
91
RoboErikc00f64f2014-11-11 16:31:22 -080092 <activity android:name=".media.SampleMediaRouteSettingsActivity"
93 android:label="@string/sample_media_route_settings_activity"
94 android:theme="@style/Theme.AppCompat.Light">
95 <intent-filter>
96 <action android:name="android.intent.action.MAIN" />
97 </intent-filter>
98 </activity>
99
Jeff Brownbda0c732013-03-19 17:06:22 -0700100 <service android:name=".media.SampleMediaRouteProviderService"
101 android:label="@string/sample_media_route_provider_service"
Jeff Brown5d41beb2013-04-29 18:20:26 -0700102 android:process=":mrp">
Jeff Brownbda0c732013-03-19 17:06:22 -0700103 <intent-filter>
104 <action android:name="android.media.MediaRouteProviderService" />
105 </intent-filter>
106 </service>
Jeff Brown63c90a52013-03-19 17:28:01 -0700107
108 <!-- GridLayout Support Samples -->
109
Jeff Brown84e6be02013-03-20 18:14:48 -0700110 <activity android:name=".view.GridLayout1"
111 android:label="@string/grid_layout_1">
Jeff Brown63c90a52013-03-19 17:28:01 -0700112 <intent-filter>
113 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -0700114 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brown63c90a52013-03-19 17:28:01 -0700115 </intent-filter>
116 </activity>
117
Jeff Brown84e6be02013-03-20 18:14:48 -0700118 <activity android:name=".view.GridLayout2"
119 android:label="@string/grid_layout_2">
Jeff Brown63c90a52013-03-19 17:28:01 -0700120 <intent-filter>
121 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -0700122 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brown63c90a52013-03-19 17:28:01 -0700123 </intent-filter>
124 </activity>
125
Jeff Brown84e6be02013-03-20 18:14:48 -0700126 <activity android:name=".view.GridLayout3"
127 android:label="@string/grid_layout_3">
Jeff Brown63c90a52013-03-19 17:28:01 -0700128 <intent-filter>
129 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -0700130 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
131 </intent-filter>
132 </activity>
133
134 <!-- Action Bar Samples -->
135 <activity android:name=".app.ActionBarMechanics"
136 android:label="@string/action_bar_mechanics"
137 android:theme="@style/Theme.AppCompat">
138 <intent-filter>
139 <action android:name="android.intent.action.MAIN" />
140 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
141 </intent-filter>
142 </activity>
143
Chris Banescbeaa032014-08-11 11:30:12 +0100144 <activity android:name=".app.SearchActivity">
145 <intent-filter>
146 <action android:name="android.intent.action.SEARCH" />
147 </intent-filter>
148
149 <meta-data android:name="android.app.searchable"
150 android:resource="@xml/searchable" />
151
152 </activity>
153
Jeff Brown84e6be02013-03-20 18:14:48 -0700154 <activity android:name=".app.ActionBarUsage"
155 android:label="@string/action_bar_usage"
156 android:theme="@style/Theme.AppCompat">
157 <intent-filter>
158 <action android:name="android.intent.action.MAIN" />
159 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
160 </intent-filter>
161 </activity>
162
163 <activity android:name=".app.ActionBarDisplayOptions"
164 android:label="@string/action_bar_display_options"
165 android:logo="@drawable/apidemo_androidlogo"
166 android:theme="@style/Theme.AppCompat">
167 <intent-filter>
168 <action android:name="android.intent.action.MAIN" />
169 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
170 </intent-filter>
171 </activity>
172
173 <activity android:name=".app.ActionBarTabs"
174 android:label="@string/action_bar_tabs"
Chris Banescbeaa032014-08-11 11:30:12 +0100175 android:theme="@style/Theme.Custom">
Jeff Brown84e6be02013-03-20 18:14:48 -0700176 <intent-filter>
177 <action android:name="android.intent.action.MAIN" />
178 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
179 </intent-filter>
180 </activity>
181
182 <activity android:name=".app.ActionBarSettingsActionProviderActivity"
183 android:label="@string/action_bar_settings_action_provider"
Chris Banescbeaa032014-08-11 11:30:12 +0100184 android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
Jeff Brown84e6be02013-03-20 18:14:48 -0700185 <intent-filter>
186 <action android:name="android.intent.action.MAIN" />
187 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brown63c90a52013-03-19 17:28:01 -0700188 </intent-filter>
189 </activity>
190
Jeff Browne14dfaf2013-04-18 23:38:33 -0700191 <activity android:name=".app.ActionBarFragmentMenu"
192 android:label="@string/action_bar_fragment_menu"
193 android:theme="@style/Theme.AppCompat">
194 <intent-filter>
195 <action android:name="android.intent.action.MAIN" />
196 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
197 </intent-filter>
198 </activity>
199
Chris Banes58bf5b92015-01-05 15:54:17 +0000200 <activity android:name=".app.ActionBarPreferences"
201 android:label="@string/action_bar_preferences"
202 android:theme="@style/Theme.AppCompat">
203 <intent-filter>
204 <action android:name="android.intent.action.MAIN" />
205 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
206 </intent-filter>
207 </activity>
208
Chris Banes0dfad9e2015-02-17 12:00:30 +0000209 <activity android:name=".app.ActionBarActionMode"
210 android:label="@string/action_bar_action_mode"
211 android:theme="@style/Theme.Custom">
212 <intent-filter>
213 <action android:name="android.intent.action.MAIN" />
214 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
215 </intent-filter>
216 </activity>
217
Chris Banes2ea6b5d2015-02-20 18:45:42 +0000218 <activity android:name=".app.ActionBarHideOnScroll"
219 android:label="@string/action_bar_hide_scroll"
220 android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
221 <intent-filter>
222 <action android:name="android.intent.action.MAIN" />
223 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
224 </intent-filter>
225 </activity>
226
Chris Banes743aa0d2015-01-23 10:13:10 +0000227 <activity android:name=".app.AppCompatWidgetsButtons"
228 android:label="@string/appcompat_widgets_buttons"
229 android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
230 <intent-filter>
231 <action android:name="android.intent.action.MAIN" />
232 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
233 </intent-filter>
234 </activity>
235
236 <activity android:name=".app.AppCompatWidgetsSpinners"
237 android:label="@string/appcompat_widgets_spinners"
238 android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
239 <intent-filter>
240 <action android:name="android.intent.action.MAIN" />
241 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
242 </intent-filter>
243 </activity>
244
245 <activity android:name=".app.AppCompatWidgetsTextInput"
246 android:label="@string/appcompat_widgets_text_input"
247 android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
248 <intent-filter>
249 <action android:name="android.intent.action.MAIN" />
250 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
251 </intent-filter>
252 </activity>
253
Chris Banescbeaa032014-08-11 11:30:12 +0100254 <activity android:name=".app.ToolbarUsage"
255 android:label="@string/toolbar_usage"
256 android:theme="@style/Theme.Custom.NoActionBar">
257 <intent-filter>
258 <action android:name="android.intent.action.MAIN" />
259 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
260 </intent-filter>
261
262 <meta-data
263 android:name="android.app.default_searchable"
264 android:value=".app.SearchActivity" />
265 </activity>
266
267 <activity android:name=".app.ToolbarDisplayOptions"
268 android:label="@string/toolbar_display_options"
269 android:theme="@style/Theme.AppCompat.Light.NoActionBar">
Yigit Boyar98f71012014-08-27 10:58:58 -0700270 <intent-filter>
271 <action android:name="android.intent.action.MAIN" />
272 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
273 </intent-filter>
274 </activity>
275
Chris Banescbeaa032014-08-11 11:30:12 +0100276 <activity android:name=".app.ToolbarFragmentPagerMenu"
277 android:label="@string/toolbar_fragment_pager"
278 android:theme="@style/Theme.AppCompat.Light.NoActionBar">
279 <intent-filter>
280 <action android:name="android.intent.action.MAIN" />
281 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
282 </intent-filter>
283 </activity>
284
Chris Banes0dfad9e2015-02-17 12:00:30 +0000285 <activity android:name=".app.ToolbarActionMode"
286 android:label="@string/toolbar_action_mode"
287 android:theme="@style/Theme.AppCompat.Light.NoActionBar">
288 <intent-filter>
289 <action android:name="android.intent.action.MAIN" />
290 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
291 </intent-filter>
292 </activity>
293
Chris Banes58bf5b92015-01-05 15:54:17 +0000294 <activity android:name=".app.DialogUsage"
295 android:label="@string/dialog_usage"
296 android:theme="@style/Theme.AppCompat.Light">
297 <intent-filter>
298 <action android:name="android.intent.action.MAIN" />
299 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
300 </intent-filter>
301 </activity>
302
Chris Banes5ffcd962015-02-11 09:27:51 -0800303 <activity android:name=".app.AlertDialogUsage"
304 android:label="@string/alert_dialog_usage"
305 android:theme="@style/Theme.AppCompat.Light">
306 <intent-filter>
307 <action android:name="android.intent.action.MAIN" />
308 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
309 </intent-filter>
310 </activity>
311
Chris Banes53267862015-04-26 16:19:11 +0100312 <activity android:name=".app.DialogFragmentUsage"
313 android:label="@string/dialogfragment_usage"
314 android:theme="@style/Theme.AppCompat.Light">
315 <intent-filter>
316 <action android:name="android.intent.action.MAIN" />
317 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
318 </intent-filter>
319 </activity>
320
Chris Banescbeaa032014-08-11 11:30:12 +0100321 <provider android:name=".app.RecentSuggestionsProvider"
322 android:authorities="com.example.android.supportv7.RecentSuggestionsProvider" />
323
Adam Powell544a42f2013-08-09 10:21:18 -0700324 <!-- RecyclerView samples -->
325 <activity android:name=".widget.RecyclerViewActivity"
Chet Haase3b3ab0e2014-01-27 12:39:48 -0800326 android:label="@string/recycler_view"
327 android:theme="@style/Theme.AppCompat">
328 <intent-filter>
329 <action android:name="android.intent.action.MAIN" />
330 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
331 </intent-filter>
332 </activity>
333
334 <activity android:name=".widget.AnimatedRecyclerView"
335 android:label="@string/animated_recycler_view"
336 android:theme="@style/Theme.AppCompat">
Adam Powell544a42f2013-08-09 10:21:18 -0700337 <intent-filter>
338 <action android:name="android.intent.action.MAIN" />
339 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
340 </intent-filter>
341 </activity>
342
Yigit Boyar7cbaf602014-03-21 14:13:49 -0700343 <activity android:name=".widget.LinearLayoutManagerActivity"
344 android:label="@string/linear_layout_manager"
345 android:theme="@style/Theme.AppCompat">
346 <intent-filter>
347 <action android:name="android.intent.action.MAIN" />
348 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
349 </intent-filter>
350 </activity>
351
Yigit Boyar5366c302014-12-17 16:57:06 -0800352 <activity android:name=".util.SortedListActivity"
353 android:label="@string/sorted_list_activity"
354 android:windowSoftInputMode="adjustResize"
355 android:theme="@style/Theme.AppCompat">
356 <intent-filter>
357 <action android:name="android.intent.action.MAIN" />
358 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
359 </intent-filter>
360 </activity>
361
Yigit Boyar4d101ac2014-08-05 13:51:07 -0700362 <activity android:name=".widget.GridLayoutManagerActivity"
363 android:label="@string/grid_layout_manager"
364 android:theme="@style/Theme.AppCompat">
365 <intent-filter>
366 <action android:name="android.intent.action.MAIN" />
367 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
368 </intent-filter>
369 </activity>
370
Vladislav Kaznacheevfbd288c2015-05-20 10:32:37 -0700371 <activity android:name=".widget.StaggeredGridLayoutManagerActivity"
372 android:label="@string/staggered_grid_layout_manager"
373 android:theme="@style/Theme.AppCompat">
374 <intent-filter>
375 <action android:name="android.intent.action.MAIN" />
376 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
377 </intent-filter>
378 </activity>
379
Vladislav Kaznacheevd57a9ed2015-06-10 15:13:07 -0700380 <activity android:name=".widget.AsyncListUtilActivity"
381 android:label="@string/async_list_util"
382 android:theme="@style/Theme.AppCompat">
383 <intent-filter>
384 <action android:name="android.intent.action.MAIN" />
385 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
386 </intent-filter>
387 </activity>
388
Yigit Boyarb5de9c72014-05-15 21:02:05 -0700389 <activity android:name=".view.CardViewActivity"
390 android:label="@string/card_view"
391 android:theme="@style/Theme.AppCompat">
392 <intent-filter>
393 <action android:name="android.intent.action.MAIN" />
394 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
395 </intent-filter>
396 </activity>
397
Chris Banes170658d2014-05-19 16:32:48 +0100398 <activity android:name=".graphics.PaletteActivity"
399 android:label="@string/palette"
400 android:theme="@style/Theme.AppCompat">
401 <intent-filter>
402 <action android:name="android.intent.action.MAIN" />
403 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
404 </intent-filter>
405 </activity>
406
407 <activity android:name=".graphics.PaletteDetailActivity"
408 android:label="@string/palette"
409 android:theme="@style/Theme.AppCompat" />
410
Yigit Boyar16ac7512015-02-19 20:09:59 -0800411 <!-- item touch helper demo activities-->
412 <activity android:name=".widget.touch.SwipeToDismissActivity"
413 android:label="@string/swipe_to_dismiss_activity">
414 <intent-filter>
415 <action android:name="android.intent.action.MAIN"/>
416 <category android:name="com.example.android.supportv7.SAMPLE_CODE"/>
417 </intent-filter>
418 </activity>
419 <activity android:name=".widget.touch.DragAndDropActivity"
420 android:label="@string/drag_and_drop_activity">
421 <intent-filter>
422 <action android:name="android.intent.action.MAIN"/>
423 <category android:name="com.example.android.supportv7.SAMPLE_CODE"/>
424 </intent-filter>
425 </activity>
Kirill Grouchnikov220a8ec2015-10-30 14:35:36 -0400426
427 <!-- DrawerLayout demo activity -->
428 <activity android:name=".widget.DrawerLayoutActivity"
429 android:label="@string/drawer_layout_activity"
430 android:theme="@style/Theme.SampleDrawerLayout">
431 <intent-filter>
432 <action android:name="android.intent.action.MAIN"/>
433 <category android:name="com.example.android.supportv7.SAMPLE_CODE"/>
434 </intent-filter>
435 </activity>
Jeff Brownbda0c732013-03-19 17:06:22 -0700436 </application>
Yigit Boyar16ac7512015-02-19 20:09:59 -0800437
438
Jeff Brownbda0c732013-03-19 17:06:22 -0700439</manifest>