1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2013 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.supportv7"> 24 25 <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="17" /> 26 27 <!-- The smallest screen this app works on is a phone. The app will 28 scale its UI to larger screens but doesn't make good use of them 29 so allow the compatibility mode button to be shown (mostly because 30 this is just convenient for testing). --> 31 <supports-screens android:requiresSmallestWidthDp="320" 32 android:compatibleWidthLimitDp="480" /> 33 34 <application android:label="@string/activity_sample_code" 35 android:icon="@drawable/app_sample_code" 36 android:hardwareAccelerated="true"> 37 38 <activity android:name="Support7Demos"> 39 <intent-filter> 40 <action android:name="android.intent.action.MAIN" /> 41 <category android:name="android.intent.category.DEFAULT" /> 42 <category android:name="android.intent.category.LAUNCHER" /> 43 </intent-filter> 44 </activity> 45 46 <!-- MediaRouter Support Samples --> 47 48 <activity android:name=".media.SampleMediaRouterActivity" 49 android:label="@string/sample_media_router_activity_dark" 50 android:theme="@style/Theme.AppCompat"> 51 <intent-filter> 52 <action android:name="android.intent.action.MAIN" /> 53 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 54 </intent-filter> 55 </activity> 56 57 <activity android:name=".media.SampleMediaRouterActivity$Light" 58 android:label="@string/sample_media_router_activity_light" 59 android:theme="@style/Theme.AppCompat.Light"> 60 <intent-filter> 61 <action android:name="android.intent.action.MAIN" /> 62 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 63 </intent-filter> 64 </activity> 65 66 <activity android:name=".media.SampleMediaRouterActivity$LightWithDarkActionBar" 67 android:label="@string/sample_media_router_activity_light_with_dark_action_bar" 68 android:theme="@style/Theme.AppCompat.Light.DarkActionBar"> 69 <intent-filter> 70 <action android:name="android.intent.action.MAIN" /> 71 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 72 </intent-filter> 73 </activity> 74 75 <service android:name=".media.SampleMediaRouteProviderService" 76 android:label="@string/sample_media_route_provider_service" 77 android:process=":mrp"> 78 <intent-filter> 79 <action android:name="android.media.MediaRouteProviderService" /> 80 </intent-filter> 81 </service> 82 83 <!-- GridLayout Support Samples --> 84 85 <activity android:name=".view.GridLayout1" 86 android:label="@string/grid_layout_1"> 87 <intent-filter> 88 <action android:name="android.intent.action.MAIN" /> 89 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 90 </intent-filter> 91 </activity> 92 93 <activity android:name=".view.GridLayout2" 94 android:label="@string/grid_layout_2"> 95 <intent-filter> 96 <action android:name="android.intent.action.MAIN" /> 97 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 98 </intent-filter> 99 </activity> 100 101 <activity android:name=".view.GridLayout3" 102 android:label="@string/grid_layout_3"> 103 <intent-filter> 104 <action android:name="android.intent.action.MAIN" /> 105 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 106 </intent-filter> 107 </activity> 108 109 <!-- Action Bar Samples --> 110 <activity android:name=".app.ActionBarMechanics" 111 android:label="@string/action_bar_mechanics" 112 android:theme="@style/Theme.AppCompat"> 113 <intent-filter> 114 <action android:name="android.intent.action.MAIN" /> 115 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 116 </intent-filter> 117 </activity> 118 119 <activity android:name=".app.ActionBarUsage" 120 android:label="@string/action_bar_usage" 121 android:theme="@style/Theme.AppCompat"> 122 <intent-filter> 123 <action android:name="android.intent.action.MAIN" /> 124 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 125 </intent-filter> 126 </activity> 127 128 <activity android:name=".app.ActionBarDisplayOptions" 129 android:label="@string/action_bar_display_options" 130 android:logo="@drawable/apidemo_androidlogo" 131 android:theme="@style/Theme.AppCompat"> 132 <intent-filter> 133 <action android:name="android.intent.action.MAIN" /> 134 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 135 </intent-filter> 136 </activity> 137 138 <activity android:name=".app.ActionBarTabs" 139 android:label="@string/action_bar_tabs" 140 android:theme="@style/Theme.AppCompat"> 141 <intent-filter> 142 <action android:name="android.intent.action.MAIN" /> 143 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 144 </intent-filter> 145 </activity> 146 147 <activity android:name=".app.ActionBarSettingsActionProviderActivity" 148 android:label="@string/action_bar_settings_action_provider" 149 android:theme="@style/Theme.AppCompat"> 150 <intent-filter> 151 <action android:name="android.intent.action.MAIN" /> 152 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 153 </intent-filter> 154 </activity> 155 156 <activity android:name=".app.ActionBarFragmentMenu" 157 android:label="@string/action_bar_fragment_menu" 158 android:theme="@style/Theme.AppCompat"> 159 <intent-filter> 160 <action android:name="android.intent.action.MAIN" /> 161 <category android:name="com.example.android.supportv7.SAMPLE_CODE" /> 162 </intent-filter> 163 </activity> 164 165 </application> 166 </manifest> 167