OSDN Git Service

Extract support lib samples out of ApiDemos and in to their own app.
[android-x86/development.git] / samples / Support4Demos / AndroidManifest.xml
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" />
28
29     <!-- This app has not been optimized for large screens. -->
30     <supports-screens android:requiresSmallestWidthDp="320"
31             android:compatibleWidthLimitDp="480" />
32
33     <application android:label="@string/activity_sample_code"
34             android:icon="@drawable/app_sample_code"
35             android:hardwareAccelerated="true">
36
37         <activity android:name="Support4Demos">
38             <intent-filter>
39                 <action android:name="android.intent.action.MAIN" />
40                 <category android:name="android.intent.category.DEFAULT" />
41                 <category android:name="android.intent.category.LAUNCHER" />
42             </intent-filter>
43         </activity>
44
45         <activity android:name=".app.SendResult"
46                 android:theme="@style/ThemeDialogWhenLarge">
47         </activity>
48         
49         <!-- Fragment Support Samples -->
50
51         <activity android:name=".app.FragmentAlertDialogSupport"
52                 android:label="@string/fragment_alert_dialog_support">
53             <intent-filter>
54                 <action android:name="android.intent.action.MAIN" />
55                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
56             </intent-filter>
57         </activity>
58
59         <activity android:name=".app.FragmentArgumentsSupport"
60                 android:label="@string/fragment_arguments_support">
61             <intent-filter>
62                 <action android:name="android.intent.action.MAIN" />
63                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
64             </intent-filter>
65         </activity>
66
67         <activity android:name=".app.FragmentHideShowSupport"
68                 android:label="@string/fragment_hide_show_support"
69                 android:windowSoftInputMode="stateUnchanged">
70             <intent-filter>
71                 <action android:name="android.intent.action.MAIN" />
72                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
73             </intent-filter>
74         </activity>
75
76         <activity android:name=".app.FragmentContextMenuSupport"
77                 android:label="@string/fragment_context_menu_support">
78             <intent-filter>
79                 <action android:name="android.intent.action.MAIN" />
80                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
81             </intent-filter>
82         </activity>
83
84         <activity android:name=".app.FragmentDialogSupport"
85                 android:label="@string/fragment_dialog_support">
86             <intent-filter>
87                 <action android:name="android.intent.action.MAIN" />
88                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
89             </intent-filter>
90         </activity>
91
92         <activity android:name=".app.FragmentDialogOrActivitySupport"
93                 android:label="@string/fragment_dialog_or_activity_support">
94             <intent-filter>
95                 <action android:name="android.intent.action.MAIN" />
96                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
97             </intent-filter>
98         </activity>
99
100         <activity android:name=".app.FragmentLayoutSupport"
101                 android:label="@string/fragment_layout_support">
102             <intent-filter>
103                 <action android:name="android.intent.action.MAIN" />
104                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
105             </intent-filter>
106         </activity>
107
108         <activity android:name=".app.FragmentListArraySupport"
109                 android:label="@string/fragment_list_array_support">
110             <intent-filter>
111                 <action android:name="android.intent.action.MAIN" />
112                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
113             </intent-filter>
114         </activity>
115
116         <activity android:name=".app.FragmentLayoutSupport$DetailsActivity" />
117
118         <activity android:name=".app.FragmentMenuSupport"
119                 android:label="@string/fragment_menu_support">
120             <intent-filter>
121                 <action android:name="android.intent.action.MAIN" />
122                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
123             </intent-filter>
124         </activity>
125
126         <activity android:name=".app.FragmentRetainInstanceSupport"
127                 android:label="@string/fragment_retain_instance_support">
128             <intent-filter>
129                 <action android:name="android.intent.action.MAIN" />
130                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
131             </intent-filter>
132         </activity>
133
134         <activity android:name=".app.FragmentReceiveResultSupport"
135                 android:label="@string/fragment_receive_result_support">
136             <intent-filter>
137                 <action android:name="android.intent.action.MAIN" />
138                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
139             </intent-filter>
140         </activity>
141
142         <activity android:name=".app.FragmentStackSupport"
143                 android:label="@string/fragment_stack_support">
144             <intent-filter>
145                 <action android:name="android.intent.action.MAIN" />
146                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
147             </intent-filter>
148         </activity>
149
150         <activity android:name=".app.FragmentPagerSupport"
151                 android:label="@string/fragment_pager_support">
152             <intent-filter>
153                 <action android:name="android.intent.action.MAIN" />
154                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
155             </intent-filter>
156         </activity>
157
158         <activity android:name=".app.LoaderCursorSupport"
159                 android:label="@string/loader_cursor_support">
160             <intent-filter>
161                 <action android:name="android.intent.action.MAIN" />
162                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
163             </intent-filter>
164         </activity>
165
166         <activity android:name=".app.LoaderThrottleSupport"
167                 android:label="@string/loader_throttle_support">
168             <intent-filter>
169                 <action android:name="android.intent.action.MAIN" />
170                 <category android:name="com.example.android.supportv4.SUPPORT4_SAMPLE_CODE" />
171             </intent-filter>
172         </activity>
173         <provider android:name=".app.LoaderThrottleSupport$SimpleProvider"
174                   android:authorities="com.example.android.apis.supportv4.app.LoaderThrottle" />
175
176     </application>
177 </manifest>