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