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