Jeff Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 1 | <?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 Zhang | 036c81a | 2013-06-19 22:35:54 -0700 | [diff] [blame] | 24 | <!-- 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 Banes | 170658d | 2014-05-19 16:32:48 +0100 | [diff] [blame] | 30 | <!-- 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 Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 33 | |
Chris Banes | cbeaa03 | 2014-08-11 11:30:12 +0100 | [diff] [blame] | 34 | <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="21" /> |
Jeff Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 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 Boyar | 7cbaf60 | 2014-03-21 14:13:49 -0700 | [diff] [blame] | 44 | android:supportsRtl="true" |
Jeff Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 45 | 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 Zhang | 620b29a | 2013-08-08 21:47:06 -0700 | [diff] [blame] | 55 | <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 Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 60 | <!-- MediaRouter Support Samples --> |
| 61 | |
| 62 | <activity android:name=".media.SampleMediaRouterActivity" |
Jeff Brown | 5d41beb | 2013-04-29 18:20:26 -0700 | [diff] [blame] | 63 | 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 Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 83 | <intent-filter> |
| 84 | <action android:name="android.intent.action.MAIN" /> |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 85 | <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> |
Jeff Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 86 | </intent-filter> |
| 87 | </activity> |
| 88 | |
RoboErik | c00f64f | 2014-11-11 16:31:22 -0800 | [diff] [blame] | 89 | <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 Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 97 | <service android:name=".media.SampleMediaRouteProviderService" |
| 98 | android:label="@string/sample_media_route_provider_service" |
Jeff Brown | 5d41beb | 2013-04-29 18:20:26 -0700 | [diff] [blame] | 99 | android:process=":mrp"> |
Jeff Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 100 | <intent-filter> |
| 101 | <action android:name="android.media.MediaRouteProviderService" /> |
| 102 | </intent-filter> |
| 103 | </service> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 104 | |
| 105 | <!-- GridLayout Support Samples --> |
| 106 | |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 107 | <activity android:name=".view.GridLayout1" |
| 108 | android:label="@string/grid_layout_1"> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 109 | <intent-filter> |
| 110 | <action android:name="android.intent.action.MAIN" /> |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 111 | <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 112 | </intent-filter> |
| 113 | </activity> |
| 114 | |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 115 | <activity android:name=".view.GridLayout2" |
| 116 | android:label="@string/grid_layout_2"> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 117 | <intent-filter> |
| 118 | <action android:name="android.intent.action.MAIN" /> |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 119 | <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 120 | </intent-filter> |
| 121 | </activity> |
| 122 | |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 123 | <activity android:name=".view.GridLayout3" |
| 124 | android:label="@string/grid_layout_3"> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 125 | <intent-filter> |
| 126 | <action android:name="android.intent.action.MAIN" /> |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 127 | <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 Banes | cbeaa03 | 2014-08-11 11:30:12 +0100 | [diff] [blame] | 141 | <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 Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 151 | <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 Banes | cbeaa03 | 2014-08-11 11:30:12 +0100 | [diff] [blame] | 172 | android:theme="@style/Theme.Custom"> |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 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 | |
| 179 | <activity android:name=".app.ActionBarSettingsActionProviderActivity" |
| 180 | android:label="@string/action_bar_settings_action_provider" |
Chris Banes | cbeaa03 | 2014-08-11 11:30:12 +0100 | [diff] [blame] | 181 | android:theme="@style/Theme.AppCompat.Light.DarkActionBar"> |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 182 | <intent-filter> |
| 183 | <action android:name="android.intent.action.MAIN" /> |
| 184 | <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 185 | </intent-filter> |
| 186 | </activity> |
| 187 | |
Jeff Brown | e14dfaf | 2013-04-18 23:38:33 -0700 | [diff] [blame] | 188 | <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 Boyar | 98f7101 | 2014-08-27 10:58:58 -0700 | [diff] [blame] | 197 | <activity android:name=".app.ActionBarWithDrawerLayout" |
Chris Banes | cbeaa03 | 2014-08-11 11:30:12 +0100 | [diff] [blame] | 198 | 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 Boyar | 98f7101 | 2014-08-27 10:58:58 -0700 | [diff] [blame] | 223 | <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 Banes | cbeaa03 | 2014-08-11 11:30:12 +0100 | [diff] [blame] | 229 | <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 Powell | 544a42f | 2013-08-09 10:21:18 -0700 | [diff] [blame] | 241 | <!-- RecyclerView samples --> |
| 242 | <activity android:name=".widget.RecyclerViewActivity" |
Chet Haase | 3b3ab0e | 2014-01-27 12:39:48 -0800 | [diff] [blame] | 243 | 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 Powell | 544a42f | 2013-08-09 10:21:18 -0700 | [diff] [blame] | 254 | <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 Boyar | 7cbaf60 | 2014-03-21 14:13:49 -0700 | [diff] [blame] | 260 | <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 Boyar | 4d101ac | 2014-08-05 13:51:07 -0700 | [diff] [blame] | 269 | <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 Boyar | b5de9c7 | 2014-05-15 21:02:05 -0700 | [diff] [blame] | 278 | <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 Banes | 170658d | 2014-05-19 16:32:48 +0100 | [diff] [blame] | 287 | <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 Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 300 | </application> |
| 301 | </manifest> |