1<?xml version="1.0" encoding="utf-8"?><!-- 2 Copyright (C) 2016 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<manifest package="com.android.multiwindowplayground" 18 xmlns:android="http://schemas.android.com/apk/res/android"> 19 20 <application 21 android:allowBackup="true" 22 android:icon="@mipmap/ic_launcher" 23 android:label="@string/app_name" 24 android:supportsRtl="true" 25 android:theme="@style/MultiWindowSampleTheme"> 26 <!-- The launcher Activity that is started when the application is first started. 27 Note that we are setting the task affinity to "" to ensure each activity is launched 28 into a separate task stack. --> 29 <activity 30 android:name="com.android.multiwindowplayground.MainActivity" 31 android:taskAffinity=""> 32 <intent-filter> 33 <action android:name="android.intent.action.MAIN" /> 34 <category android:name="android.intent.category.LAUNCHER" /> 35 </intent-filter> 36 </activity> 37 38 <!-- This Activity cannot be resized and is always displayed full screen. --> 39 <activity 40 android:name="com.android.multiwindowplayground.activities.UnresizableActivity" 41 android:resizeableActivity="false" 42 android:taskAffinity="" /> 43 44 <!-- This Activity has a default size (750x500dp) with a minimum size 45 (500dp at its shortest side). It is launched in the top/end (top/right) corner by default. 46 These attributes are defined in the 'layout' tag within an Activity definition. --> 47 <activity 48 android:name="com.android.multiwindowplayground.activities.MinimumSizeActivity" 49 android:launchMode="singleInstance" 50 android:taskAffinity=""> 51 <layout 52 android:defaultHeight="500dp" 53 android:defaultWidth="750dp" 54 android:gravity="top|end" 55 android:minWidth="500dp" 56 android:minHeight="500dp" /> 57 </activity> 58 59 <!-- In split-screen mode, this Activity is launched adjacent to another Activity. This is 60 controlled via a flag set in the intent that launches this Activity. --> 61 <activity 62 android:name="com.android.multiwindowplayground.activities.AdjacentActivity" 63 android:taskAffinity="" /> 64 65 <!-- This Activity is launched within an area defined in its launch intent. --> 66 <activity 67 android:name="com.android.multiwindowplayground.activities.LaunchBoundsActivity" 68 android:taskAffinity="" /> 69 70 <!-- This activity handles all configuration changes itself. 71 Callbacks for configuration changes are received in 'onConfigurationChanged'. --> 72 <activity 73 android:name="com.android.multiwindowplayground.activities.CustomConfigurationChangeActivity" 74 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" 75 android:launchMode="singleInstance" 76 android:taskAffinity="" /> 77 78 <!-- This Activity is launched in a new task without any special flags or settings. --> 79 <activity 80 android:name="com.android.multiwindowplayground.activities.BasicActivity" 81 android:launchMode="singleInstance" 82 android:taskAffinity="" /> 83 84 </application> 85 86</manifest> 87