blob: 1d087a470d4309e72fddd9bc18c238ea9142e013 [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"
Jeff Brown5d41beb2013-04-29 18:20:26 -070063 android:label="@string/sample_media_router_activity_dark"
64 android:theme="@style/Theme.AppCompat">
65 <intent-filter>
66 <action android:name="android.intent.action.MAIN" />
67 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
68 </intent-filter>
69 </activity>
70
71 <activity android:name=".media.SampleMediaRouterActivity$Light"
72 android:label="@string/sample_media_router_activity_light"
73 android:theme="@style/Theme.AppCompat.Light">
74 <intent-filter>
75 <action android:name="android.intent.action.MAIN" />
76 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
77 </intent-filter>
78 </activity>
79
80 <activity android:name=".media.SampleMediaRouterActivity$LightWithDarkActionBar"
81 android:label="@string/sample_media_router_activity_light_with_dark_action_bar"
82 android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
Jeff Brownbda0c732013-03-19 17:06:22 -070083 <intent-filter>
84 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -070085 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brownbda0c732013-03-19 17:06:22 -070086 </intent-filter>
87 </activity>
88
RoboErikc00f64f2014-11-11 16:31:22 -080089 <activity android:name=".media.SampleMediaRouteSettingsActivity"
90 android:label="@string/sample_media_route_settings_activity"
91 android:theme="@style/Theme.AppCompat.Light">
92 <intent-filter>
93 <action android:name="android.intent.action.MAIN" />
94 </intent-filter>
95 </activity>
96
Jeff Brownbda0c732013-03-19 17:06:22 -070097 <service android:name=".media.SampleMediaRouteProviderService"
98 android:label="@string/sample_media_route_provider_service"
Jeff Brown5d41beb2013-04-29 18:20:26 -070099 android:process=":mrp">
Jeff Brownbda0c732013-03-19 17:06:22 -0700100 <intent-filter>
101 <action android:name="android.media.MediaRouteProviderService" />
102 </intent-filter>
103 </service>
Jeff Brown63c90a52013-03-19 17:28:01 -0700104
105 <!-- GridLayout Support Samples -->
106
Jeff Brown84e6be02013-03-20 18:14:48 -0700107 <activity android:name=".view.GridLayout1"
108 android:label="@string/grid_layout_1">
Jeff Brown63c90a52013-03-19 17:28:01 -0700109 <intent-filter>
110 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -0700111 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brown63c90a52013-03-19 17:28:01 -0700112 </intent-filter>
113 </activity>
114
Jeff Brown84e6be02013-03-20 18:14:48 -0700115 <activity android:name=".view.GridLayout2"
116 android:label="@string/grid_layout_2">
Jeff Brown63c90a52013-03-19 17:28:01 -0700117 <intent-filter>
118 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -0700119 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brown63c90a52013-03-19 17:28:01 -0700120 </intent-filter>
121 </activity>
122
Jeff Brown84e6be02013-03-20 18:14:48 -0700123 <activity android:name=".view.GridLayout3"
124 android:label="@string/grid_layout_3">
Jeff Brown63c90a52013-03-19 17:28:01 -0700125 <intent-filter>
126 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -0700127 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
128 </intent-filter>
129 </activity>
130
131 <!-- Action Bar Samples -->
132 <activity android:name=".app.ActionBarMechanics"
133 android:label="@string/action_bar_mechanics"
134 android:theme="@style/Theme.AppCompat">
135 <intent-filter>
136 <action android:name="android.intent.action.MAIN" />
137 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
138 </intent-filter>
139 </activity>
140
Chris Banescbeaa032014-08-11 11:30:12 +0100141 <activity android:name=".app.SearchActivity">
142 <intent-filter>
143 <action android:name="android.intent.action.SEARCH" />
144 </intent-filter>
145
146 <meta-data android:name="android.app.searchable"
147 android:resource="@xml/searchable" />
148
149 </activity>
150
Jeff Brown84e6be02013-03-20 18:14:48 -0700151 <activity android:name=".app.ActionBarUsage"
152 android:label="@string/action_bar_usage"
153 android:theme="@style/Theme.AppCompat">
154 <intent-filter>
155 <action android:name="android.intent.action.MAIN" />
156 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
157 </intent-filter>
158 </activity>
159
160 <activity android:name=".app.ActionBarDisplayOptions"
161 android:label="@string/action_bar_display_options"
162 android:logo="@drawable/apidemo_androidlogo"
163 android:theme="@style/Theme.AppCompat">
164 <intent-filter>
165 <action android:name="android.intent.action.MAIN" />
166 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
167 </intent-filter>
168 </activity>
169
170 <activity android:name=".app.ActionBarTabs"
171 android:label="@string/action_bar_tabs"
Chris Banescbeaa032014-08-11 11:30:12 +0100172 android:theme="@style/Theme.Custom">
Jeff Brown84e6be02013-03-20 18:14:48 -0700173 <intent-filter>
174 <action android:name="android.intent.action.MAIN" />
175 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
176 </intent-filter>
177 </activity>
178
179 <activity android:name=".app.ActionBarSettingsActionProviderActivity"
180 android:label="@string/action_bar_settings_action_provider"
Chris Banescbeaa032014-08-11 11:30:12 +0100181 android:theme="@style/Theme.AppCompat.Light.DarkActionBar">
Jeff Brown84e6be02013-03-20 18:14:48 -0700182 <intent-filter>
183 <action android:name="android.intent.action.MAIN" />
184 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brown63c90a52013-03-19 17:28:01 -0700185 </intent-filter>
186 </activity>
187
Jeff Browne14dfaf2013-04-18 23:38:33 -0700188 <activity android:name=".app.ActionBarFragmentMenu"
189 android:label="@string/action_bar_fragment_menu"
190 android:theme="@style/Theme.AppCompat">
191 <intent-filter>
192 <action android:name="android.intent.action.MAIN" />
193 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
194 </intent-filter>
195 </activity>
196
Yigit Boyar98f71012014-08-27 10:58:58 -0700197 <activity android:name=".app.ActionBarWithDrawerLayout"
Chris Banescbeaa032014-08-11 11:30:12 +0100198 android:label="@string/action_bar_with_navigation_drawer"
199 android:theme="@style/Theme.AppCompat"
200 >
201 <intent-filter>
202 <action android:name="android.intent.action.MAIN"/>
203 <category android:name="com.example.android.supportv7.SAMPLE_CODE"/>
204 </intent-filter>
205 </activity>
206
207 <activity android:name=".app.ToolbarUsage"
208 android:label="@string/toolbar_usage"
209 android:theme="@style/Theme.Custom.NoActionBar">
210 <intent-filter>
211 <action android:name="android.intent.action.MAIN" />
212 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
213 </intent-filter>
214
215 <meta-data
216 android:name="android.app.default_searchable"
217 android:value=".app.SearchActivity" />
218 </activity>
219
220 <activity android:name=".app.ToolbarDisplayOptions"
221 android:label="@string/toolbar_display_options"
222 android:theme="@style/Theme.AppCompat.Light.NoActionBar">
Yigit Boyar98f71012014-08-27 10:58:58 -0700223 <intent-filter>
224 <action android:name="android.intent.action.MAIN" />
225 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
226 </intent-filter>
227 </activity>
228
Chris Banescbeaa032014-08-11 11:30:12 +0100229 <activity android:name=".app.ToolbarFragmentPagerMenu"
230 android:label="@string/toolbar_fragment_pager"
231 android:theme="@style/Theme.AppCompat.Light.NoActionBar">
232 <intent-filter>
233 <action android:name="android.intent.action.MAIN" />
234 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
235 </intent-filter>
236 </activity>
237
238 <provider android:name=".app.RecentSuggestionsProvider"
239 android:authorities="com.example.android.supportv7.RecentSuggestionsProvider" />
240
Adam Powell544a42f2013-08-09 10:21:18 -0700241 <!-- RecyclerView samples -->
242 <activity android:name=".widget.RecyclerViewActivity"
Chet Haase3b3ab0e2014-01-27 12:39:48 -0800243 android:label="@string/recycler_view"
244 android:theme="@style/Theme.AppCompat">
245 <intent-filter>
246 <action android:name="android.intent.action.MAIN" />
247 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
248 </intent-filter>
249 </activity>
250
251 <activity android:name=".widget.AnimatedRecyclerView"
252 android:label="@string/animated_recycler_view"
253 android:theme="@style/Theme.AppCompat">
Adam Powell544a42f2013-08-09 10:21:18 -0700254 <intent-filter>
255 <action android:name="android.intent.action.MAIN" />
256 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
257 </intent-filter>
258 </activity>
259
Yigit Boyar7cbaf602014-03-21 14:13:49 -0700260 <activity android:name=".widget.LinearLayoutManagerActivity"
261 android:label="@string/linear_layout_manager"
262 android:theme="@style/Theme.AppCompat">
263 <intent-filter>
264 <action android:name="android.intent.action.MAIN" />
265 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
266 </intent-filter>
267 </activity>
268
Yigit Boyar4d101ac2014-08-05 13:51:07 -0700269 <activity android:name=".widget.GridLayoutManagerActivity"
270 android:label="@string/grid_layout_manager"
271 android:theme="@style/Theme.AppCompat">
272 <intent-filter>
273 <action android:name="android.intent.action.MAIN" />
274 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
275 </intent-filter>
276 </activity>
277
Yigit Boyarb5de9c72014-05-15 21:02:05 -0700278 <activity android:name=".view.CardViewActivity"
279 android:label="@string/card_view"
280 android:theme="@style/Theme.AppCompat">
281 <intent-filter>
282 <action android:name="android.intent.action.MAIN" />
283 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
284 </intent-filter>
285 </activity>
286
Chris Banes170658d2014-05-19 16:32:48 +0100287 <activity android:name=".graphics.PaletteActivity"
288 android:label="@string/palette"
289 android:theme="@style/Theme.AppCompat">
290 <intent-filter>
291 <action android:name="android.intent.action.MAIN" />
292 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
293 </intent-filter>
294 </activity>
295
296 <activity android:name=".graphics.PaletteDetailActivity"
297 android:label="@string/palette"
298 android:theme="@style/Theme.AppCompat" />
299
Jeff Brownbda0c732013-03-19 17:06:22 -0700300 </application>
301</manifest>