1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2007 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
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">
25 <uses-permission android:name="android.permission.READ_CONTACTS" />
27 <uses-sdk android:minSdkVersion="4" />
29 <!-- This app has not been optimized for large screens. -->
30 <supports-screens android:requiresSmallestWidthDp="320"
31 android:compatibleWidthLimitDp="480" />
33 <application android:label="@string/activity_sample_code"
34 android:icon="@drawable/app_sample_code"
35 android:hardwareAccelerated="true">
37 <activity android:name="Support4Demos">
39 <action android:name="android.intent.action.MAIN" />
40 <category android:name="android.intent.category.DEFAULT" />
41 <category android:name="android.intent.category.LAUNCHER" />
45 <activity android:name=".app.SendResult"
46 android:theme="@style/ThemeDialogWhenLarge">
49 <!-- Fragment Support Samples -->
51 <activity android:name=".app.FragmentAlertDialogSupport"
52 android:label="@string/fragment_alert_dialog_support">
54 <action android:name="android.intent.action.MAIN" />
55 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
59 <activity android:name=".app.FragmentArgumentsSupport"
60 android:label="@string/fragment_arguments_support">
62 <action android:name="android.intent.action.MAIN" />
63 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
67 <activity android:name=".app.FragmentHideShowSupport"
68 android:label="@string/fragment_hide_show_support"
69 android:windowSoftInputMode="stateUnchanged">
71 <action android:name="android.intent.action.MAIN" />
72 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
76 <activity android:name=".app.FragmentContextMenuSupport"
77 android:label="@string/fragment_context_menu_support">
79 <action android:name="android.intent.action.MAIN" />
80 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
84 <activity android:name=".app.FragmentDialogSupport"
85 android:label="@string/fragment_dialog_support">
87 <action android:name="android.intent.action.MAIN" />
88 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
92 <activity android:name=".app.FragmentDialogOrActivitySupport"
93 android:label="@string/fragment_dialog_or_activity_support">
95 <action android:name="android.intent.action.MAIN" />
96 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
100 <activity android:name=".app.FragmentLayoutSupport"
101 android:label="@string/fragment_layout_support">
103 <action android:name="android.intent.action.MAIN" />
104 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
108 <activity android:name=".app.FragmentListArraySupport"
109 android:label="@string/fragment_list_array_support">
111 <action android:name="android.intent.action.MAIN" />
112 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
116 <activity android:name=".app.FragmentLayoutSupport$DetailsActivity" />
118 <activity android:name=".app.FragmentMenuSupport"
119 android:label="@string/fragment_menu_support">
121 <action android:name="android.intent.action.MAIN" />
122 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
126 <activity android:name=".app.FragmentRetainInstanceSupport"
127 android:label="@string/fragment_retain_instance_support">
129 <action android:name="android.intent.action.MAIN" />
130 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
134 <activity android:name=".app.FragmentReceiveResultSupport"
135 android:label="@string/fragment_receive_result_support">
137 <action android:name="android.intent.action.MAIN" />
138 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
142 <activity android:name=".app.FragmentStackSupport"
143 android:label="@string/fragment_stack_support">
145 <action android:name="android.intent.action.MAIN" />
146 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
150 <activity android:name=".app.FragmentPagerSupport"
151 android:label="@string/fragment_pager_support">
153 <action android:name="android.intent.action.MAIN" />
154 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
158 <activity android:name=".app.LoaderCursorSupport"
159 android:label="@string/loader_cursor_support">
161 <action android:name="android.intent.action.MAIN" />
162 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
166 <activity android:name=".app.LoaderThrottleSupport"
167 android:label="@string/loader_throttle_support">
169 <action android:name="android.intent.action.MAIN" />
170 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
173 <provider android:name=".app.LoaderThrottleSupport$SimpleProvider"
174 android:authorities="com.example.android.apis.supportv4.app.LoaderThrottle" />