blob: 4077bb110b2d97e6bace763444be0bd97f9e6603 [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
34 <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="17" />
35
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
89 <service android:name=".media.SampleMediaRouteProviderService"
90 android:label="@string/sample_media_route_provider_service"
Jeff Brown5d41beb2013-04-29 18:20:26 -070091 android:process=":mrp">
Jeff Brownbda0c732013-03-19 17:06:22 -070092 <intent-filter>
93 <action android:name="android.media.MediaRouteProviderService" />
94 </intent-filter>
95 </service>
Jeff Brown63c90a52013-03-19 17:28:01 -070096
97 <!-- GridLayout Support Samples -->
98
Jeff Brown84e6be02013-03-20 18:14:48 -070099 <activity android:name=".view.GridLayout1"
100 android:label="@string/grid_layout_1">
Jeff Brown63c90a52013-03-19 17:28:01 -0700101 <intent-filter>
102 <action android:name="android.intent.action.MAIN" />
Jeff Brown84e6be02013-03-20 18:14:48 -0700103 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
Jeff Brown63c90a52013-03-19 17:28:01 -0700104 </intent-filter>
105 </activity>
106
Jeff Brown84e6be02013-03-20 18:14:48 -0700107 <activity android:name=".view.GridLayout2"
108 android:label="@string/grid_layout_2">
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.GridLayout3"
116 android:label="@string/grid_layout_3">
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" />
120 </intent-filter>
121 </activity>
122
123 <!-- Action Bar Samples -->
124 <activity android:name=".app.ActionBarMechanics"
125 android:label="@string/action_bar_mechanics"
126 android:theme="@style/Theme.AppCompat">
127 <intent-filter>
128 <action android:name="android.intent.action.MAIN" />
129 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
130 </intent-filter>
131 </activity>
132
133 <activity android:name=".app.ActionBarUsage"
134 android:label="@string/action_bar_usage"
135 android:theme="@style/Theme.AppCompat">
136 <intent-filter>
137 <action android:name="android.intent.action.MAIN" />
138 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
139 </intent-filter>
140 </activity>
141
142 <activity android:name=".app.ActionBarDisplayOptions"
143 android:label="@string/action_bar_display_options"
144 android:logo="@drawable/apidemo_androidlogo"
145 android:theme="@style/Theme.AppCompat">
146 <intent-filter>
147 <action android:name="android.intent.action.MAIN" />
148 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
149 </intent-filter>
150 </activity>
151
152 <activity android:name=".app.ActionBarTabs"
153 android:label="@string/action_bar_tabs"
154 android:theme="@style/Theme.AppCompat">
155 <intent-filter>
156 <action android:name="android.intent.action.MAIN" />
157 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
158 </intent-filter>
159 </activity>
160
161 <activity android:name=".app.ActionBarSettingsActionProviderActivity"
162 android:label="@string/action_bar_settings_action_provider"
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" />
Jeff Brown63c90a52013-03-19 17:28:01 -0700167 </intent-filter>
168 </activity>
169
Jeff Browne14dfaf2013-04-18 23:38:33 -0700170 <activity android:name=".app.ActionBarFragmentMenu"
171 android:label="@string/action_bar_fragment_menu"
172 android:theme="@style/Theme.AppCompat">
173 <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
Yigit Boyar98f71012014-08-27 10:58:58 -0700179 <activity android:name=".app.ActionBarWithDrawerLayout"
180 android:label="@string/action_bar_with_navigation_drawer"
181 android:theme="@style/Theme.AppCompat"
182 >
183 <intent-filter>
184 <action android:name="android.intent.action.MAIN" />
185 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
186 </intent-filter>
187 </activity>
188
Adam Powell544a42f2013-08-09 10:21:18 -0700189 <!-- RecyclerView samples -->
190 <activity android:name=".widget.RecyclerViewActivity"
Chet Haase3b3ab0e2014-01-27 12:39:48 -0800191 android:label="@string/recycler_view"
192 android:theme="@style/Theme.AppCompat">
193 <intent-filter>
194 <action android:name="android.intent.action.MAIN" />
195 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
196 </intent-filter>
197 </activity>
198
199 <activity android:name=".widget.AnimatedRecyclerView"
200 android:label="@string/animated_recycler_view"
201 android:theme="@style/Theme.AppCompat">
Adam Powell544a42f2013-08-09 10:21:18 -0700202 <intent-filter>
203 <action android:name="android.intent.action.MAIN" />
204 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
205 </intent-filter>
206 </activity>
207
Yigit Boyar7cbaf602014-03-21 14:13:49 -0700208 <activity android:name=".widget.LinearLayoutManagerActivity"
209 android:label="@string/linear_layout_manager"
210 android:theme="@style/Theme.AppCompat">
211 <intent-filter>
212 <action android:name="android.intent.action.MAIN" />
213 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
214 </intent-filter>
215 </activity>
216
Yigit Boyar4d101ac2014-08-05 13:51:07 -0700217 <activity android:name=".widget.GridLayoutManagerActivity"
218 android:label="@string/grid_layout_manager"
219 android:theme="@style/Theme.AppCompat">
220 <intent-filter>
221 <action android:name="android.intent.action.MAIN" />
222 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
223 </intent-filter>
224 </activity>
225
Yigit Boyarb5de9c72014-05-15 21:02:05 -0700226 <activity android:name=".view.CardViewActivity"
227 android:label="@string/card_view"
228 android:theme="@style/Theme.AppCompat">
229 <intent-filter>
230 <action android:name="android.intent.action.MAIN" />
231 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
232 </intent-filter>
233 </activity>
234
Chris Banes170658d2014-05-19 16:32:48 +0100235 <activity android:name=".graphics.PaletteActivity"
236 android:label="@string/palette"
237 android:theme="@style/Theme.AppCompat">
238 <intent-filter>
239 <action android:name="android.intent.action.MAIN" />
240 <category android:name="com.example.android.supportv7.SAMPLE_CODE" />
241 </intent-filter>
242 </activity>
243
244 <activity android:name=".graphics.PaletteDetailActivity"
245 android:label="@string/palette"
246 android:theme="@style/Theme.AppCompat" />
247
Jeff Brownbda0c732013-03-19 17:06:22 -0700248 </application>
249</manifest>