1*90c8c64dSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?><!-- 2*90c8c64dSAndroid Build Coastguard Worker Copyright (C) 2016 The Android Open Source Project 3*90c8c64dSAndroid Build Coastguard Worker 4*90c8c64dSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*90c8c64dSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*90c8c64dSAndroid Build Coastguard Worker You may obtain a copy of the License at 7*90c8c64dSAndroid Build Coastguard Worker 8*90c8c64dSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*90c8c64dSAndroid Build Coastguard Worker 10*90c8c64dSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*90c8c64dSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*90c8c64dSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*90c8c64dSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*90c8c64dSAndroid Build Coastguard Worker limitations under the License. 15*90c8c64dSAndroid Build Coastguard Worker --> 16*90c8c64dSAndroid Build Coastguard Worker 17*90c8c64dSAndroid Build Coastguard Worker<manifest package="com.android.multiwindowplayground" 18*90c8c64dSAndroid Build Coastguard Worker xmlns:android="http://schemas.android.com/apk/res/android"> 19*90c8c64dSAndroid Build Coastguard Worker 20*90c8c64dSAndroid Build Coastguard Worker <application 21*90c8c64dSAndroid Build Coastguard Worker android:allowBackup="true" 22*90c8c64dSAndroid Build Coastguard Worker android:icon="@mipmap/ic_launcher" 23*90c8c64dSAndroid Build Coastguard Worker android:label="@string/app_name" 24*90c8c64dSAndroid Build Coastguard Worker android:supportsRtl="true" 25*90c8c64dSAndroid Build Coastguard Worker android:theme="@style/MultiWindowSampleTheme"> 26*90c8c64dSAndroid Build Coastguard Worker <!-- The launcher Activity that is started when the application is first started. 27*90c8c64dSAndroid Build Coastguard Worker Note that we are setting the task affinity to "" to ensure each activity is launched 28*90c8c64dSAndroid Build Coastguard Worker into a separate task stack. --> 29*90c8c64dSAndroid Build Coastguard Worker <activity 30*90c8c64dSAndroid Build Coastguard Worker android:name="com.android.multiwindowplayground.MainActivity" 31*90c8c64dSAndroid Build Coastguard Worker android:taskAffinity=""> 32*90c8c64dSAndroid Build Coastguard Worker <intent-filter> 33*90c8c64dSAndroid Build Coastguard Worker <action android:name="android.intent.action.MAIN" /> 34*90c8c64dSAndroid Build Coastguard Worker <category android:name="android.intent.category.LAUNCHER" /> 35*90c8c64dSAndroid Build Coastguard Worker </intent-filter> 36*90c8c64dSAndroid Build Coastguard Worker </activity> 37*90c8c64dSAndroid Build Coastguard Worker 38*90c8c64dSAndroid Build Coastguard Worker <!-- This Activity cannot be resized and is always displayed full screen. --> 39*90c8c64dSAndroid Build Coastguard Worker <activity 40*90c8c64dSAndroid Build Coastguard Worker android:name="com.android.multiwindowplayground.activities.UnresizableActivity" 41*90c8c64dSAndroid Build Coastguard Worker android:resizeableActivity="false" 42*90c8c64dSAndroid Build Coastguard Worker android:taskAffinity="" /> 43*90c8c64dSAndroid Build Coastguard Worker 44*90c8c64dSAndroid Build Coastguard Worker <!-- This Activity has a default size (750x500dp) with a minimum size 45*90c8c64dSAndroid Build Coastguard Worker (500dp at its shortest side). It is launched in the top/end (top/right) corner by default. 46*90c8c64dSAndroid Build Coastguard Worker These attributes are defined in the 'layout' tag within an Activity definition. --> 47*90c8c64dSAndroid Build Coastguard Worker <activity 48*90c8c64dSAndroid Build Coastguard Worker android:name="com.android.multiwindowplayground.activities.MinimumSizeActivity" 49*90c8c64dSAndroid Build Coastguard Worker android:launchMode="singleInstance" 50*90c8c64dSAndroid Build Coastguard Worker android:taskAffinity=""> 51*90c8c64dSAndroid Build Coastguard Worker <layout 52*90c8c64dSAndroid Build Coastguard Worker android:defaultHeight="500dp" 53*90c8c64dSAndroid Build Coastguard Worker android:defaultWidth="750dp" 54*90c8c64dSAndroid Build Coastguard Worker android:gravity="top|end" 55*90c8c64dSAndroid Build Coastguard Worker android:minWidth="500dp" 56*90c8c64dSAndroid Build Coastguard Worker android:minHeight="500dp" /> 57*90c8c64dSAndroid Build Coastguard Worker </activity> 58*90c8c64dSAndroid Build Coastguard Worker 59*90c8c64dSAndroid Build Coastguard Worker <!-- In split-screen mode, this Activity is launched adjacent to another Activity. This is 60*90c8c64dSAndroid Build Coastguard Worker controlled via a flag set in the intent that launches this Activity. --> 61*90c8c64dSAndroid Build Coastguard Worker <activity 62*90c8c64dSAndroid Build Coastguard Worker android:name="com.android.multiwindowplayground.activities.AdjacentActivity" 63*90c8c64dSAndroid Build Coastguard Worker android:taskAffinity="" /> 64*90c8c64dSAndroid Build Coastguard Worker 65*90c8c64dSAndroid Build Coastguard Worker <!-- This Activity is launched within an area defined in its launch intent. --> 66*90c8c64dSAndroid Build Coastguard Worker <activity 67*90c8c64dSAndroid Build Coastguard Worker android:name="com.android.multiwindowplayground.activities.LaunchBoundsActivity" 68*90c8c64dSAndroid Build Coastguard Worker android:taskAffinity="" /> 69*90c8c64dSAndroid Build Coastguard Worker 70*90c8c64dSAndroid Build Coastguard Worker <!-- This activity handles all configuration changes itself. 71*90c8c64dSAndroid Build Coastguard Worker Callbacks for configuration changes are received in 'onConfigurationChanged'. --> 72*90c8c64dSAndroid Build Coastguard Worker <activity 73*90c8c64dSAndroid Build Coastguard Worker android:name="com.android.multiwindowplayground.activities.CustomConfigurationChangeActivity" 74*90c8c64dSAndroid Build Coastguard Worker android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" 75*90c8c64dSAndroid Build Coastguard Worker android:launchMode="singleInstance" 76*90c8c64dSAndroid Build Coastguard Worker android:taskAffinity="" /> 77*90c8c64dSAndroid Build Coastguard Worker 78*90c8c64dSAndroid Build Coastguard Worker <!-- This Activity is launched in a new task without any special flags or settings. --> 79*90c8c64dSAndroid Build Coastguard Worker <activity 80*90c8c64dSAndroid Build Coastguard Worker android:name="com.android.multiwindowplayground.activities.BasicActivity" 81*90c8c64dSAndroid Build Coastguard Worker android:launchMode="singleInstance" 82*90c8c64dSAndroid Build Coastguard Worker android:taskAffinity="" /> 83*90c8c64dSAndroid Build Coastguard Worker 84*90c8c64dSAndroid Build Coastguard Worker </application> 85*90c8c64dSAndroid Build Coastguard Worker 86*90c8c64dSAndroid Build Coastguard Worker</manifest> 87