Xml文件  |  165行  |  7.42 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (C) 2015 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
          package="android.server.app">

    <application>
        <activity android:name=".TestActivity"
                android:resizeableActivity="true"
                android:exported="true"
        />
        <activity android:name=".ResizeableActivity"
                android:resizeableActivity="true"
                android:exported="true"
                android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
        />
        <activity android:name=".NonResizeableActivity"
                android:resizeableActivity="false"
                android:exported="true"
        />
        <activity android:name=".DockedActivity"
                android:resizeableActivity="true"
                android:exported="true"
                android:taskAffinity="nobody.but.DockedActivity"
        />
        <activity android:name=".TranslucentActivity"
            android:theme="@android:style/Theme.Translucent.NoTitleBar"
            android:resizeableActivity="true"
            android:taskAffinity="nobody.but.TranslucentActivity"
            android:exported="true"
        />
        <activity android:name=".NoRelaunchActivity"
                android:resizeableActivity="true"
                android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                android:exported="true"
                android:taskAffinity="nobody.but.NoRelaunchActivity"
        />
        <activity android:name=".SlowCreateActivity"
                android:resizeableActivity="true"
                android:exported="true"
        />
        <activity android:name=".LaunchToSideActivity"
                android:resizeableActivity="true"
                android:exported="true"
                android:taskAffinity="nobody.but.LaunchToSideActivity"
        />
        <activity android:name=".PipActivity"
                android:resizeableActivity="true"
                android:supportsPictureInPicture="true"
                android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                android:exported="true"
        />
        <activity android:name=".AutoEnterPipActivity"
                  android:resizeableActivity="true"
                  android:supportsPictureInPicture="true"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                  android:exported="true"
        />
        <activity android:name=".AlwaysFocusablePipActivity"
                  android:theme="@style/Theme.Transparent"
                  android:resizeableActivity="true"
                  android:supportsPictureInPicture="true"
                  androidprv:alwaysFocusable="true"
                  android:exported="true"
                  android:taskAffinity="nobody.but.AlwaysFocusablePipActivity"
        />
        <activity android:name=".LaunchIntoPinnedStackPipActivity"
                  android:resizeableActivity="true"
                  android:supportsPictureInPicture="true"
                  androidprv:alwaysFocusable="true"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                  android:exported="true"
        />
        <activity android:name=".VisibleBehindActivity"
                  android:resizeableActivity="true"
                  android:supportsPictureInPicture="true"
                  android:exported="true"
                  android:taskAffinity="nobody.but.VisibleBehindActivity"
        />
        <activity android:name=".LaunchPipOnPipActivity"
                  android:resizeableActivity="true"
                  android:supportsPictureInPicture="true"
                  android:taskAffinity="nobody.but.LaunchPipOnPipActivity"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                  android:exported="true"
        />
        <activity android:name=".FreeformActivity"
                  android:resizeableActivity="true"
                  android:taskAffinity="nobody.but.FreeformActivity"
                  android:exported="true"
        />
        <activity android:name=".TopLeftLayoutActivity"
                  android:resizeableActivity="true"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                  android:exported="true">
                  <layout android:defaultWidth="240dp"
                          android:defaultHeight="160dp"
                          android:gravity="top|left"
                          android:minWidth="100dp"
                          android:minHeight="80dp"
                  />
        </activity>
        <activity android:name=".TopRightLayoutActivity"
                  android:resizeableActivity="true"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                  android:exported="true">
                  <layout android:defaultWidth="25%"
                          android:defaultHeight="35%"
                          android:gravity="top|right"
                          android:minWidth="100dp"
                          android:minHeight="80dp"
                  />
        </activity>
        <activity android:name=".BottomLeftLayoutActivity"
                  android:resizeableActivity="true"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                  android:exported="true">
                  <layout android:defaultWidth="25%"
                          android:defaultHeight="35%"
                          android:gravity="bottom|left"
                          android:minWidth="100dp"
                          android:minHeight="80dp"
                  />
        </activity>
        <activity android:name=".BottomRightLayoutActivity"
                  android:resizeableActivity="true"
                  android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
                  android:exported="true">
                  <layout android:defaultWidth="240dp"
                          android:defaultHeight="160dp"
                          android:gravity="bottom|right"
                          android:minWidth="100dp"
                          android:minHeight="80dp"
                  />
        </activity>
        <activity android:name=".TurnScreenOnActivity"
                  android:exported="true"
        />
        <activity android:name=".SingleTaskActivity"
            android:exported="true"
            android:launchMode="singleTask"
        />
        <activity android:name=".SingleInstanceActivity"
            android:exported="true"
            android:launchMode="singleInstance"
        />
    </application>
</manifest>