1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2007 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.supportv4"> 24 25 <uses-permission android:name="android.permission.READ_CONTACTS" /> 26 <uses-permission android:name="android.permission.INTERNET" /> 27 <uses-permission android:name="android.permission.WAKE_LOCK" /> 28 29 <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="22" /> 30 31 <!-- The smallest screen this app works on is a phone. The app will 32 scale its UI to larger screens but doesn't make good use of them 33 so allow the compatibility mode button to be shown (mostly because 34 this is just convenient for testing). --> 35 <supports-screens android:requiresSmallestWidthDp="320" 36 android:compatibleWidthLimitDp="480" /> 37 38 <application android:label="@string/activity_sample_code" 39 android:icon="@drawable/app_sample_code" 40 android:hardwareAccelerated="true" 41 android:supportsRtl="true"> 42 43 <activity android:name="Support4Demos"> 44 <intent-filter> 45 <action android:name="android.intent.action.MAIN" /> 46 <category android:name="android.intent.category.DEFAULT" /> 47 <category android:name="android.intent.category.LAUNCHER" /> 48 </intent-filter> 49 </activity> 50 51 <activity android:name=".app.SendResult" 52 android:theme="@style/ThemeDialogWhenLarge"> 53 </activity> 54 55 <!-- Fragment Support Samples --> 56 57 <activity android:name=".app.FragmentAlertDialogSupport" 58 android:label="@string/fragment_alert_dialog_support"> 59 <intent-filter> 60 <action android:name="android.intent.action.MAIN" /> 61 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 62 </intent-filter> 63 </activity> 64 65 <activity android:name=".app.FragmentArgumentsSupport" 66 android:label="@string/fragment_arguments_support"> 67 <intent-filter> 68 <action android:name="android.intent.action.MAIN" /> 69 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 70 </intent-filter> 71 </activity> 72 73 <activity android:name=".app.FragmentCustomAnimationSupport" 74 android:label="@string/fragment_custom_animation_support"> 75 <intent-filter> 76 <action android:name="android.intent.action.MAIN" /> 77 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 78 </intent-filter> 79 </activity> 80 81 <activity android:name=".app.FragmentHideShowSupport" 82 android:label="@string/fragment_hide_show_support" 83 android:windowSoftInputMode="stateUnchanged"> 84 <intent-filter> 85 <action android:name="android.intent.action.MAIN" /> 86 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 87 </intent-filter> 88 </activity> 89 90 <activity android:name=".app.FragmentContextMenuSupport" 91 android:label="@string/fragment_context_menu_support"> 92 <intent-filter> 93 <action android:name="android.intent.action.MAIN" /> 94 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 95 </intent-filter> 96 </activity> 97 98 <activity android:name=".app.FragmentDialogSupport" 99 android:label="@string/fragment_dialog_support"> 100 <intent-filter> 101 <action android:name="android.intent.action.MAIN" /> 102 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 103 </intent-filter> 104 </activity> 105 106 <activity android:name=".app.FragmentDialogOrActivitySupport" 107 android:label="@string/fragment_dialog_or_activity_support"> 108 <intent-filter> 109 <action android:name="android.intent.action.MAIN" /> 110 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 111 </intent-filter> 112 </activity> 113 114 <activity android:name=".app.FragmentLayoutSupport" 115 android:label="@string/fragment_layout_support"> 116 <intent-filter> 117 <action android:name="android.intent.action.MAIN" /> 118 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 119 </intent-filter> 120 </activity> 121 122 <activity android:name=".app.FragmentListArraySupport" 123 android:label="@string/fragment_list_array_support"> 124 <intent-filter> 125 <action android:name="android.intent.action.MAIN" /> 126 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 127 </intent-filter> 128 </activity> 129 130 <activity android:name=".app.FragmentLayoutSupport$DetailsActivity" /> 131 132 <activity android:name=".app.FragmentMenuSupport" 133 android:label="@string/fragment_menu_support"> 134 <intent-filter> 135 <action android:name="android.intent.action.MAIN" /> 136 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 137 </intent-filter> 138 </activity> 139 140 <activity android:name=".app.FragmentNestingTabsSupport" 141 android:label="@string/fragment_nesting_tabs_support"> 142 <intent-filter> 143 <action android:name="android.intent.action.MAIN" /> 144 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 145 </intent-filter> 146 </activity> 147 148 <activity android:name=".app.FragmentRetainInstanceSupport" 149 android:label="@string/fragment_retain_instance_support"> 150 <intent-filter> 151 <action android:name="android.intent.action.MAIN" /> 152 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 153 </intent-filter> 154 </activity> 155 156 <activity android:name=".app.FragmentReceiveResultSupport" 157 android:label="@string/fragment_receive_result_support"> 158 <intent-filter> 159 <action android:name="android.intent.action.MAIN" /> 160 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 161 </intent-filter> 162 </activity> 163 164 <activity android:name=".app.FragmentStackSupport" 165 android:label="@string/fragment_stack_support"> 166 <intent-filter> 167 <action android:name="android.intent.action.MAIN" /> 168 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 169 </intent-filter> 170 </activity> 171 172 <activity android:name=".app.FragmentTabs" 173 android:label="@string/fragment_tabs"> 174 <intent-filter> 175 <action android:name="android.intent.action.MAIN" /> 176 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 177 </intent-filter> 178 </activity> 179 180 <activity android:name=".app.FragmentTabsPager" 181 android:label="@string/fragment_tabs_pager"> 182 <intent-filter> 183 <action android:name="android.intent.action.MAIN" /> 184 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 185 </intent-filter> 186 </activity> 187 188 <activity android:name=".app.FragmentPagerSupport" 189 android:label="@string/fragment_pager_support"> 190 <intent-filter> 191 <action android:name="android.intent.action.MAIN" /> 192 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 193 </intent-filter> 194 </activity> 195 196 <activity android:name=".app.FragmentStatePagerSupport" 197 android:label="@string/fragment_state_pager_support"> 198 <intent-filter> 199 <action android:name="android.intent.action.MAIN" /> 200 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 201 </intent-filter> 202 </activity> 203 204 <activity android:name=".app.LoaderCursorSupport" 205 android:label="@string/loader_cursor_support"> 206 <intent-filter> 207 <action android:name="android.intent.action.MAIN" /> 208 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 209 </intent-filter> 210 </activity> 211 212 <activity android:name=".app.LoaderRetainedSupport" 213 android:label="@string/loader_retained_support"> 214 <intent-filter> 215 <action android:name="android.intent.action.MAIN" /> 216 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 217 </intent-filter> 218 </activity> 219 220 <activity android:name=".app.LoaderCustomSupport" 221 android:label="@string/loader_custom_support"> 222 <intent-filter> 223 <action android:name="android.intent.action.MAIN" /> 224 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 225 </intent-filter> 226 </activity> 227 228 <activity android:name=".app.LoaderThrottleSupport" 229 android:label="@string/loader_throttle_support"> 230 <intent-filter> 231 <action android:name="android.intent.action.MAIN" /> 232 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 233 </intent-filter> 234 </activity> 235 <provider android:name=".app.LoaderThrottleSupport$SimpleProvider" 236 android:authorities="com.example.android.apis.supportv4.app.LoaderThrottle" /> 237 238 <activity android:name=".content.LocalServiceBroadcaster" 239 android:label="@string/local_service_broadcaster"> 240 <intent-filter> 241 <action android:name="android.intent.action.MAIN" /> 242 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 243 </intent-filter> 244 </activity> 245 <service android:name=".content.LocalServiceBroadcaster$LocalService" 246 android:stopWithTask="true" /> 247 248 <activity android:name=".content.SimpleWakefulController" 249 android:label="@string/simple_wakeful_controller"> 250 <intent-filter> 251 <action android:name="android.intent.action.MAIN" /> 252 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 253 </intent-filter> 254 </activity> 255 256 <receiver android:name=".content.SimpleWakefulReceiver" /> 257 <service android:name=".content.SimpleWakefulService" /> 258 259 <activity android:name=".accessibility.AccessibilityManagerSupportActivity" 260 android:label="@string/accessibility_manager_title"> 261 <intent-filter> 262 <action android:name="android.intent.action.MAIN" /> 263 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 264 </intent-filter> 265 </activity> 266 267 <activity android:name=".accessibility.AccessibilityDelegateSupportActivity" 268 android:label="@string/accessibility_delegate_title"> 269 <intent-filter> 270 <action android:name="android.intent.action.MAIN" /> 271 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 272 </intent-filter> 273 </activity> 274 275 <activity android:name=".accessibility.AccessibilityRoleDescriptionSupportActivity" 276 android:label="@string/accessibility_roledescription_title"> 277 <intent-filter> 278 <action android:name="android.intent.action.MAIN" /> 279 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 280 </intent-filter> 281 </activity> 282 283 <activity android:name=".app.SharingSupport" 284 android:label="@string/sharing_support_title"> 285 <intent-filter> 286 <action android:name="android.intent.action.MAIN" /> 287 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 288 </intent-filter> 289 </activity> 290 291 <activity android:name=".app.SharingReceiverSupport" 292 android:label="@string/sharing_receiver_title"> 293 <intent-filter> 294 <action android:name="android.intent.action.SEND" /> 295 <action android:name="android.intent.action.SEND_MULTIPLE" /> 296 <data android:mimeType="text/plain" /> 297 <category android:name="android.intent.category.DEFAULT" /> 298 </intent-filter> 299 </activity> 300 301 <activity android:name=".text.BidiFormatterSupport" 302 android:label="@string/bidiformatter_support_title"> 303 <intent-filter> 304 <action android:name="android.intent.action.MAIN" /> 305 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 306 </intent-filter> 307 </activity> 308 309 <activity android:name=".view.ViewPagerActivity" 310 android:label="@string/view_pager_layout_support"> 311 <intent-filter> 312 <action android:name="android.intent.action.MAIN" /> 313 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 314 </intent-filter> 315 </activity> 316 317 <activity android:name=".widget.SwipeRefreshLayoutActivityList" 318 android:label="@string/swipe_list" 319 android:theme="@style/ThemeHoloLight"> 320 <intent-filter> 321 <action android:name="android.intent.action.MAIN" /> 322 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 323 </intent-filter> 324 </activity> 325 326 <activity android:name=".widget.SwipeRefreshLayoutActivityTextView" 327 android:label="@string/swipe_text" 328 android:theme="@style/ThemeHoloLight"> 329 <intent-filter> 330 <action android:name="android.intent.action.MAIN" /> 331 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 332 </intent-filter> 333 </activity> 334 335 <activity android:name=".widget.SwipeRefreshLayoutActivityNestedScrollView" 336 android:label="@string/swipe_nested_sv" 337 android:theme="@style/ThemeHoloLight"> 338 <intent-filter> 339 <action android:name="android.intent.action.MAIN" /> 340 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 341 </intent-filter> 342 </activity> 343 344 345 <activity android:name=".widget.ContentLoadingProgressBarActivity" 346 android:label="@string/content_loading_progress_bar"> 347 <intent-filter> 348 <action android:name="android.intent.action.MAIN" /> 349 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 350 </intent-filter> 351 </activity> 352 353 <activity android:name=".widget.SlidingPaneLayoutActivity" 354 android:label="@string/sliding_pane_layout_support"> 355 <intent-filter> 356 <action android:name="android.intent.action.MAIN" /> 357 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 358 </intent-filter> 359 </activity> 360 361 <activity android:name=".widget.ExploreByTouchHelperActivity" 362 android:label="@string/explore_by_touch_helper_support"> 363 <intent-filter> 364 <action android:name="android.intent.action.MAIN" /> 365 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 366 </intent-filter> 367 </activity> 368 369 <provider android:authorities="com.example.supportv4.content.sharingsupportprovider" 370 android:name=".content.SharingSupportProvider" /> 371 372 <!-- FileProvider Example --> 373 374 <activity android:name=".content.FileProviderExample" 375 android:label="@string/file_provider_example"> 376 <intent-filter> 377 <action android:name="android.intent.action.MAIN" /> 378 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 379 </intent-filter> 380 </activity> 381 382 <activity android:name=".widget.NestedScrollActivity" 383 android:label="@string/nested_scroll"> 384 <intent-filter> 385 <action android:name="android.intent.action.MAIN" /> 386 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 387 </intent-filter> 388 </activity> 389 390 <activity android:name=".graphics.RoundedBitmapDrawableActivity" 391 android:label="Graphics/RoundedBitmapDrawable"> 392 <intent-filter> 393 <action android:name="android.intent.action.MAIN" /> 394 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 395 </intent-filter> 396 </activity> 397 398 <activity android:name=".graphics.DrawableCompatActivity" 399 android:label="Graphics/DrawableCompat"> 400 <intent-filter> 401 <action android:name="android.intent.action.MAIN" /> 402 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 403 </intent-filter> 404 </activity> 405 406 <!-- BEGIN_INCLUDE(file_provider_declaration) --> 407 <provider 408 android:name="android.support.v4.content.FileProvider" 409 android:authorities="com.example.android.supportv4.my_files" 410 android:grantUriPermissions="true" 411 android:exported="false"> 412 <meta-data 413 android:name="android.support.FILE_PROVIDER_PATHS" 414 android:resource="@xml/my_paths" /> 415 </provider> 416 <!-- END_INCLUDE(file_provider_declaration) --> 417 418 <activity android:name=".media.TransportControllerActivity" 419 android:label="@string/sample_transport_controller_activity"> 420 <intent-filter> 421 <action android:name="android.intent.action.MAIN" /> 422 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 423 </intent-filter> 424 </activity> 425 426 <!-- MediaBrowserCompat Sample --> 427 <activity android:name=".media.MediaBrowserSupport" 428 android:label="@string/media_browser_support"> 429 <intent-filter> 430 <action android:name="android.intent.action.MAIN" /> 431 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 432 </intent-filter> 433 </activity> 434 435 <!-- (OPTIONAL) use this meta data to indicate which icon should be used in media 436 notifications (for example, when the music changes and the user is 437 looking at another app) --> 438 <meta-data android:name="com.google.android.gms.car.notification.SmallIcon" 439 android:resource="@drawable/ic_notification" /> 440 441 <!-- 442 (OPTIONAL) use this meta data to override the theme from which Android Auto will 443 look for colors. If you don't set this, Android Auto will look 444 for color attributes in your application theme. 445 --> 446 <meta-data android:name="com.google.android.gms.car.application.theme" 447 android:resource="@style/CarTheme" /> 448 449 <service android:name=".media.MediaBrowserServiceSupport" 450 android:exported="true" android:process=":service"> 451 <intent-filter> 452 <action android:name="android.media.browse.MediaBrowserService" /> 453 </intent-filter> 454 </service> 455 456 <receiver android:name="android.support.v4.media.session.MediaButtonReceiver" > 457 <intent-filter> 458 <action android:name="android.intent.action.MEDIA_BUTTON" /> 459 </intent-filter> 460 </receiver> 461 462 </application> 463 </manifest> 464