• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.WAKE_LOCK" />
27
28    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="19" />
29
30    <!-- The smallest screen this app works on is a phone.  The app will
31         scale its UI to larger screens but doesn't make good use of them
32         so allow the compatibility mode button to be shown (mostly because
33         this is just convenient for testing). -->
34    <supports-screens android:requiresSmallestWidthDp="320"
35            android:compatibleWidthLimitDp="480" />
36
37    <application android:label="@string/activity_sample_code"
38            android:icon="@drawable/app_sample_code"
39            android:hardwareAccelerated="true"
40            android:supportsRtl="true">
41
42        <activity android:name="Support4Demos">
43            <intent-filter>
44                <action android:name="android.intent.action.MAIN" />
45                <category android:name="android.intent.category.DEFAULT" />
46                <category android:name="android.intent.category.LAUNCHER" />
47            </intent-filter>
48        </activity>
49
50        <activity android:name=".app.SendResult"
51                android:theme="@style/ThemeDialogWhenLarge">
52        </activity>
53
54        <!-- Fragment Support Samples -->
55
56        <activity android:name=".app.FragmentAlertDialogSupport"
57                android:label="@string/fragment_alert_dialog_support">
58            <intent-filter>
59                <action android:name="android.intent.action.MAIN" />
60                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
61            </intent-filter>
62        </activity>
63
64        <activity android:name=".app.FragmentArgumentsSupport"
65                android:label="@string/fragment_arguments_support">
66            <intent-filter>
67                <action android:name="android.intent.action.MAIN" />
68                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
69            </intent-filter>
70        </activity>
71
72        <activity android:name=".app.FragmentCustomAnimationSupport"
73                android:label="@string/fragment_custom_animation_support">
74            <intent-filter>
75                <action android:name="android.intent.action.MAIN" />
76                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
77            </intent-filter>
78        </activity>
79
80        <activity android:name=".app.FragmentHideShowSupport"
81                android:label="@string/fragment_hide_show_support"
82                android:windowSoftInputMode="stateUnchanged">
83            <intent-filter>
84                <action android:name="android.intent.action.MAIN" />
85                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
86            </intent-filter>
87        </activity>
88
89        <activity android:name=".app.FragmentContextMenuSupport"
90                android:label="@string/fragment_context_menu_support">
91            <intent-filter>
92                <action android:name="android.intent.action.MAIN" />
93                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
94            </intent-filter>
95        </activity>
96
97        <activity android:name=".app.FragmentDialogSupport"
98                android:label="@string/fragment_dialog_support">
99            <intent-filter>
100                <action android:name="android.intent.action.MAIN" />
101                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
102            </intent-filter>
103        </activity>
104
105        <activity android:name=".app.FragmentDialogOrActivitySupport"
106                android:label="@string/fragment_dialog_or_activity_support">
107            <intent-filter>
108                <action android:name="android.intent.action.MAIN" />
109                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
110            </intent-filter>
111        </activity>
112
113        <activity android:name=".app.FragmentLayoutSupport"
114                android:label="@string/fragment_layout_support">
115            <intent-filter>
116                <action android:name="android.intent.action.MAIN" />
117                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
118            </intent-filter>
119        </activity>
120
121        <activity android:name=".app.FragmentListArraySupport"
122                android:label="@string/fragment_list_array_support">
123            <intent-filter>
124                <action android:name="android.intent.action.MAIN" />
125                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
126            </intent-filter>
127        </activity>
128
129        <activity android:name=".app.FragmentLayoutSupport$DetailsActivity" />
130
131        <activity android:name=".app.FragmentMenuSupport"
132                android:label="@string/fragment_menu_support">
133            <intent-filter>
134                <action android:name="android.intent.action.MAIN" />
135                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
136            </intent-filter>
137        </activity>
138
139        <activity android:name=".app.FragmentNestingTabsSupport"
140                android:label="@string/fragment_nesting_tabs_support">
141            <intent-filter>
142                <action android:name="android.intent.action.MAIN" />
143                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
144            </intent-filter>
145        </activity>
146
147        <activity android:name=".app.FragmentRetainInstanceSupport"
148                android:label="@string/fragment_retain_instance_support">
149            <intent-filter>
150                <action android:name="android.intent.action.MAIN" />
151                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
152            </intent-filter>
153        </activity>
154
155        <activity android:name=".app.FragmentReceiveResultSupport"
156                android:label="@string/fragment_receive_result_support">
157            <intent-filter>
158                <action android:name="android.intent.action.MAIN" />
159                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
160            </intent-filter>
161        </activity>
162
163        <activity android:name=".app.FragmentStackSupport"
164                android:label="@string/fragment_stack_support">
165            <intent-filter>
166                <action android:name="android.intent.action.MAIN" />
167                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
168            </intent-filter>
169        </activity>
170
171        <activity android:name=".app.FragmentTabs"
172                android:label="@string/fragment_tabs">
173            <intent-filter>
174                <action android:name="android.intent.action.MAIN" />
175                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
176            </intent-filter>
177        </activity>
178
179        <activity android:name=".app.FragmentTabsPager"
180                android:label="@string/fragment_tabs_pager">
181            <intent-filter>
182                <action android:name="android.intent.action.MAIN" />
183                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
184            </intent-filter>
185        </activity>
186
187        <activity android:name=".app.FragmentPagerSupport"
188                android:label="@string/fragment_pager_support">
189            <intent-filter>
190                <action android:name="android.intent.action.MAIN" />
191                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
192            </intent-filter>
193        </activity>
194
195        <activity android:name=".app.FragmentStatePagerSupport"
196                android:label="@string/fragment_state_pager_support">
197            <intent-filter>
198                <action android:name="android.intent.action.MAIN" />
199                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
200            </intent-filter>
201        </activity>
202
203        <activity android:name=".app.LoaderCursorSupport"
204                android:label="@string/loader_cursor_support">
205            <intent-filter>
206                <action android:name="android.intent.action.MAIN" />
207                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
208            </intent-filter>
209        </activity>
210
211        <activity android:name=".app.LoaderRetainedSupport"
212                android:label="@string/loader_retained_support">
213            <intent-filter>
214                <action android:name="android.intent.action.MAIN" />
215                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
216            </intent-filter>
217        </activity>
218
219        <activity android:name=".app.LoaderCustomSupport"
220                android:label="@string/loader_custom_support">
221            <intent-filter>
222                <action android:name="android.intent.action.MAIN" />
223                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
224            </intent-filter>
225        </activity>
226
227        <activity android:name=".app.LoaderThrottleSupport"
228                android:label="@string/loader_throttle_support">
229            <intent-filter>
230                <action android:name="android.intent.action.MAIN" />
231                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
232            </intent-filter>
233        </activity>
234        <provider android:name=".app.LoaderThrottleSupport$SimpleProvider"
235                  android:authorities="com.example.android.apis.supportv4.app.LoaderThrottle" />
236
237        <activity android:name=".content.LocalServiceBroadcaster"
238                android:label="@string/local_service_broadcaster">
239            <intent-filter>
240                <action android:name="android.intent.action.MAIN" />
241                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
242            </intent-filter>
243        </activity>
244        <service android:name=".content.LocalServiceBroadcaster$LocalService"
245                android:stopWithTask="true" />
246
247        <activity android:name=".content.SimpleWakefulController"
248                  android:label="@string/simple_wakeful_controller">
249            <intent-filter>
250                <action android:name="android.intent.action.MAIN" />
251                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
252            </intent-filter>
253        </activity>
254
255        <receiver android:name=".content.SimpleWakefulReceiver" />
256        <service android:name=".content.SimpleWakefulService" />
257
258        <activity android:name=".accessibility.AccessibilityManagerSupportActivity"
259                android:label="@string/accessibility_manager_title">
260            <intent-filter>
261                <action android:name="android.intent.action.MAIN" />
262                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
263            </intent-filter>
264        </activity>
265
266        <activity android:name=".accessibility.AccessibilityDelegateSupportActivity"
267                android:label="@string/accessibility_delegate_title">
268            <intent-filter>
269                <action android:name="android.intent.action.MAIN" />
270                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
271            </intent-filter>
272        </activity>
273
274        <activity android:name=".app.SharingSupport"
275                  android:label="@string/sharing_support_title">
276            <intent-filter>
277                <action android:name="android.intent.action.MAIN" />
278                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
279            </intent-filter>
280        </activity>
281
282        <activity android:name=".app.SharingReceiverSupport"
283                  android:label="@string/sharing_receiver_title">
284            <intent-filter>
285                <action android:name="android.intent.action.SEND" />
286                <action android:name="android.intent.action.SEND_MULTIPLE" />
287                <data android:mimeType="text/plain" />
288                <category android:name="android.intent.category.DEFAULT" />
289            </intent-filter>
290        </activity>
291
292        <activity android:name=".text.BidiFormatterSupport"
293                  android:label="@string/bidiformatter_support_title">
294            <intent-filter>
295                <action android:name="android.intent.action.MAIN" />
296                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
297            </intent-filter>
298        </activity>
299
300        <activity android:name=".widget.DrawerLayoutActivity"
301                  android:label="@string/drawer_layout_support">
302            <intent-filter>
303                <action android:name="android.intent.action.MAIN" />
304                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
305            </intent-filter>
306        </activity>
307
308        <activity android:name=".widget.SwipeRefreshLayoutActivity"
309                  android:label="@string/swipe"
310                  android:theme="@style/ThemeHoloLight">
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.ContentLoadingProgressBarActivity"
318                  android:label="@string/content_loading_progress_bar">
319            <intent-filter>
320                <action android:name="android.intent.action.MAIN" />
321                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
322            </intent-filter>
323        </activity>
324
325        <activity android:name=".widget.SlidingPaneLayoutActivity"
326                  android:label="@string/sliding_pane_layout_support">
327            <intent-filter>
328                <action android:name="android.intent.action.MAIN" />
329                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
330            </intent-filter>
331        </activity>
332
333        <activity android:name=".widget.ExploreByTouchHelperActivity"
334                  android:label="@string/explore_by_touch_helper_support">
335            <intent-filter>
336                <action android:name="android.intent.action.MAIN" />
337                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
338            </intent-filter>
339        </activity>
340
341        <provider android:authorities="com.example.supportv4.content.sharingsupportprovider"
342                  android:name=".content.SharingSupportProvider" />
343
344        <!-- FileProvider Example -->
345
346        <activity android:name=".content.FileProviderExample"
347                android:label="@string/file_provider_example">
348            <intent-filter>
349                <action android:name="android.intent.action.MAIN" />
350                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
351            </intent-filter>
352        </activity>
353
354<!-- BEGIN_INCLUDE(file_provider_declaration) -->
355        <provider
356            android:name="android.support.v4.content.FileProvider"
357            android:authorities="com.example.android.supportv4.my_files"
358            android:grantUriPermissions="true"
359            android:exported="false">
360            <meta-data
361                android:name="android.support.FILE_PROVIDER_PATHS"
362                android:resource="@xml/my_paths" />
363        </provider>
364<!-- END_INCLUDE(file_provider_declaration) -->
365
366        <activity android:name=".media.TransportControllerActivity"
367                android:label="@string/sample_transport_controller_activity">
368            <intent-filter>
369                <action android:name="android.intent.action.MAIN" />
370                <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
371            </intent-filter>
372        </activity>
373
374    </application>
375</manifest>
376