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 27 <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="13" /> 28 29 <!-- The smallest screen this app works on is a phone. The app will 30 scale its UI to larger screens but doesn't make good use of them 31 so allow the compatibility mode button to be shown (mostly because 32 this is just convenient for testing). --> 33 <supports-screens android:requiresSmallestWidthDp="320" 34 android:compatibleWidthLimitDp="480" /> 35 36 <application android:label="@string/activity_sample_code" 37 android:icon="@drawable/app_sample_code" 38 android:hardwareAccelerated="true"> 39 40 <activity android:name="Support4Demos"> 41 <intent-filter> 42 <action android:name="android.intent.action.MAIN" /> 43 <category android:name="android.intent.category.DEFAULT" /> 44 <category android:name="android.intent.category.LAUNCHER" /> 45 </intent-filter> 46 </activity> 47 48 <activity android:name=".app.SendResult" 49 android:theme="@style/ThemeDialogWhenLarge"> 50 </activity> 51 52 <!-- Fragment Support Samples --> 53 54 <activity android:name=".app.FragmentAlertDialogSupport" 55 android:label="@string/fragment_alert_dialog_support"> 56 <intent-filter> 57 <action android:name="android.intent.action.MAIN" /> 58 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 59 </intent-filter> 60 </activity> 61 62 <activity android:name=".app.FragmentArgumentsSupport" 63 android:label="@string/fragment_arguments_support"> 64 <intent-filter> 65 <action android:name="android.intent.action.MAIN" /> 66 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 67 </intent-filter> 68 </activity> 69 70 <activity android:name=".app.FragmentCustomAnimationSupport" 71 android:label="@string/fragment_custom_animation_support"> 72 <intent-filter> 73 <action android:name="android.intent.action.MAIN" /> 74 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 75 </intent-filter> 76 </activity> 77 78 <activity android:name=".app.FragmentHideShowSupport" 79 android:label="@string/fragment_hide_show_support" 80 android:windowSoftInputMode="stateUnchanged"> 81 <intent-filter> 82 <action android:name="android.intent.action.MAIN" /> 83 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 84 </intent-filter> 85 </activity> 86 87 <activity android:name=".app.FragmentContextMenuSupport" 88 android:label="@string/fragment_context_menu_support"> 89 <intent-filter> 90 <action android:name="android.intent.action.MAIN" /> 91 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 92 </intent-filter> 93 </activity> 94 95 <activity android:name=".app.FragmentDialogSupport" 96 android:label="@string/fragment_dialog_support"> 97 <intent-filter> 98 <action android:name="android.intent.action.MAIN" /> 99 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 100 </intent-filter> 101 </activity> 102 103 <activity android:name=".app.FragmentDialogOrActivitySupport" 104 android:label="@string/fragment_dialog_or_activity_support"> 105 <intent-filter> 106 <action android:name="android.intent.action.MAIN" /> 107 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 108 </intent-filter> 109 </activity> 110 111 <activity android:name=".app.FragmentLayoutSupport" 112 android:label="@string/fragment_layout_support"> 113 <intent-filter> 114 <action android:name="android.intent.action.MAIN" /> 115 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 116 </intent-filter> 117 </activity> 118 119 <activity android:name=".app.FragmentListArraySupport" 120 android:label="@string/fragment_list_array_support"> 121 <intent-filter> 122 <action android:name="android.intent.action.MAIN" /> 123 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 124 </intent-filter> 125 </activity> 126 127 <activity android:name=".app.FragmentLayoutSupport$DetailsActivity" /> 128 129 <activity android:name=".app.FragmentMenuSupport" 130 android:label="@string/fragment_menu_support"> 131 <intent-filter> 132 <action android:name="android.intent.action.MAIN" /> 133 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 134 </intent-filter> 135 </activity> 136 137 <activity android:name=".app.FragmentNestingTabsSupport" 138 android:label="@string/fragment_nesting_tabs_support"> 139 <intent-filter> 140 <action android:name="android.intent.action.MAIN" /> 141 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 142 </intent-filter> 143 </activity> 144 145 <activity android:name=".app.FragmentRetainInstanceSupport" 146 android:label="@string/fragment_retain_instance_support"> 147 <intent-filter> 148 <action android:name="android.intent.action.MAIN" /> 149 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 150 </intent-filter> 151 </activity> 152 153 <activity android:name=".app.FragmentReceiveResultSupport" 154 android:label="@string/fragment_receive_result_support"> 155 <intent-filter> 156 <action android:name="android.intent.action.MAIN" /> 157 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 158 </intent-filter> 159 </activity> 160 161 <activity android:name=".app.FragmentStackSupport" 162 android:label="@string/fragment_stack_support"> 163 <intent-filter> 164 <action android:name="android.intent.action.MAIN" /> 165 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 166 </intent-filter> 167 </activity> 168 169 <activity android:name=".app.FragmentTabs" 170 android:label="@string/fragment_tabs"> 171 <intent-filter> 172 <action android:name="android.intent.action.MAIN" /> 173 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 174 </intent-filter> 175 </activity> 176 177 <activity android:name=".app.FragmentTabsPager" 178 android:label="@string/fragment_tabs_pager"> 179 <intent-filter> 180 <action android:name="android.intent.action.MAIN" /> 181 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 182 </intent-filter> 183 </activity> 184 185 <activity android:name=".app.FragmentPagerSupport" 186 android:label="@string/fragment_pager_support"> 187 <intent-filter> 188 <action android:name="android.intent.action.MAIN" /> 189 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 190 </intent-filter> 191 </activity> 192 193 <activity android:name=".app.FragmentStatePagerSupport" 194 android:label="@string/fragment_state_pager_support"> 195 <intent-filter> 196 <action android:name="android.intent.action.MAIN" /> 197 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 198 </intent-filter> 199 </activity> 200 201 <activity android:name=".app.LoaderCursorSupport" 202 android:label="@string/loader_cursor_support"> 203 <intent-filter> 204 <action android:name="android.intent.action.MAIN" /> 205 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 206 </intent-filter> 207 </activity> 208 209 <activity android:name=".app.LoaderRetainedSupport" 210 android:label="@string/loader_retained_support"> 211 <intent-filter> 212 <action android:name="android.intent.action.MAIN" /> 213 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 214 </intent-filter> 215 </activity> 216 217 <activity android:name=".app.LoaderCustomSupport" 218 android:label="@string/loader_custom_support"> 219 <intent-filter> 220 <action android:name="android.intent.action.MAIN" /> 221 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 222 </intent-filter> 223 </activity> 224 225 <activity android:name=".app.LoaderThrottleSupport" 226 android:label="@string/loader_throttle_support"> 227 <intent-filter> 228 <action android:name="android.intent.action.MAIN" /> 229 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 230 </intent-filter> 231 </activity> 232 <provider android:name=".app.LoaderThrottleSupport$SimpleProvider" 233 android:authorities="com.example.android.apis.supportv4.app.LoaderThrottle" /> 234 235 <activity android:name=".content.LocalServiceBroadcaster" 236 android:label="@string/local_service_broadcaster"> 237 <intent-filter> 238 <action android:name="android.intent.action.MAIN" /> 239 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 240 </intent-filter> 241 </activity> 242 <service android:name=".content.LocalServiceBroadcaster$LocalService" 243 android:stopWithTask="true" /> 244 245 <activity android:name=".accessibility.AccessibilityManagerSupportActivity" 246 android:label="@string/accessibility_manager_title"> 247 <intent-filter> 248 <action android:name="android.intent.action.MAIN" /> 249 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 250 </intent-filter> 251 </activity> 252 253 <activity android:name=".accessibility.AccessibilityDelegateSupportActivity" 254 android:label="@string/accessibility_delegate_title"> 255 <intent-filter> 256 <action android:name="android.intent.action.MAIN" /> 257 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 258 </intent-filter> 259 </activity> 260 261 <activity android:name=".app.SharingSupport" 262 android:label="@string/sharing_support_title"> 263 <intent-filter> 264 <action android:name="android.intent.action.MAIN" /> 265 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" /> 266 </intent-filter> 267 </activity> 268 269 <activity android:name=".app.SharingReceiverSupport" 270 android:label="@string/sharing_receiver_title"> 271 <intent-filter> 272 <action android:name="android.intent.action.SEND" /> 273 <action android:name="android.intent.action.SEND_MULTIPLE" /> 274 <data android:mimeType="text/plain" /> 275 <category android:name="android.intent.category.DEFAULT" /> 276 </intent-filter> 277 </activity> 278 279 <provider android:authorities="com.example.supportv4.content.sharingsupportprovider" 280 android:name=".content.SharingSupportProvider" /> 281 282 </application> 283</manifest> 284