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 | |
| 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 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 | |
| 89 | <service android:name=".media.SampleMediaRouteProviderService" |
| 90 | android:label="@string/sample_media_route_provider_service" |
Jeff Brown | 5d41beb | 2013-04-29 18:20:26 -0700 | [diff] [blame] | 91 | android:process=":mrp"> |
Jeff Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 92 | <intent-filter> |
| 93 | <action android:name="android.media.MediaRouteProviderService" /> |
| 94 | </intent-filter> |
| 95 | </service> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 96 | |
| 97 | <!-- GridLayout Support Samples --> |
| 98 | |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 99 | <activity android:name=".view.GridLayout1" |
| 100 | android:label="@string/grid_layout_1"> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 101 | <intent-filter> |
| 102 | <action android:name="android.intent.action.MAIN" /> |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 103 | <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> |
Jeff Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 104 | </intent-filter> |
| 105 | </activity> |
| 106 | |
Jeff Brown | 84e6be0 | 2013-03-20 18:14:48 -0700 | [diff] [blame] | 107 | <activity android:name=".view.GridLayout2" |
| 108 | android:label="@string/grid_layout_2"> |
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.GridLayout3" |
| 116 | android:label="@string/grid_layout_3"> |
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" /> |
| 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 Brown | 63c90a5 | 2013-03-19 17:28:01 -0700 | [diff] [blame] | 167 | </intent-filter> |
| 168 | </activity> |
| 169 | |
Jeff Brown | e14dfaf | 2013-04-18 23:38:33 -0700 | [diff] [blame] | 170 | <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 Boyar | 98f7101 | 2014-08-27 10:58:58 -0700 | [diff] [blame] | 179 | <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 Powell | 544a42f | 2013-08-09 10:21:18 -0700 | [diff] [blame] | 189 | <!-- RecyclerView samples --> |
| 190 | <activity android:name=".widget.RecyclerViewActivity" |
Chet Haase | 3b3ab0e | 2014-01-27 12:39:48 -0800 | [diff] [blame] | 191 | 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 Powell | 544a42f | 2013-08-09 10:21:18 -0700 | [diff] [blame] | 202 | <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 Boyar | 7cbaf60 | 2014-03-21 14:13:49 -0700 | [diff] [blame] | 208 | <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 Boyar | 4d101ac | 2014-08-05 13:51:07 -0700 | [diff] [blame] | 217 | <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 Boyar | b5de9c7 | 2014-05-15 21:02:05 -0700 | [diff] [blame] | 226 | <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 Banes | 170658d | 2014-05-19 16:32:48 +0100 | [diff] [blame] | 235 | <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 Brown | bda0c73 | 2013-03-19 17:06:22 -0700 | [diff] [blame] | 248 | </application> |
| 249 | </manifest> |