chaviw b8de995291 Added demo for ActiviyView visibility
Allows user to control the ActivityView's visibility at runtime to test
the behavior.

Test: mmma tests/ActivityViewTest, install apk, and run app

Change-Id: Ia01ffa825c2a96a35760574a205c41196c9b1976
2019-01-17 09:41:28 -08:00

67 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 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"
package="com.google.android.test.activityview">
<uses-permission android:name="android.permission.INJECT_EVENTS"/>
<uses-permission android:name="android.permission.MANAGE_ACTIVITY_STACKS"/>
<uses-permission android:name="android.permission.ACTIVITY_EMBEDDING"/>
<uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW"/>
<uses-sdk android:targetSdkVersion="27"/>
<application android:label="ActivityViewTest">
<activity android:name=".ActivityViewMainActivity"
android:label="AV Main"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name=".ActivityViewActivity"
android:label="AV"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
android:windowSoftInputMode="stateHidden|adjustResize">
</activity>
<activity android:name=".ActivityViewResizeActivity"
android:label="AV Resize"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
android:windowSoftInputMode="stateHidden|adjustResize">
</activity>
<activity android:name=".ActivityViewScrollActivity"
android:label="AV Scroll"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
android:windowSoftInputMode="stateHidden">
</activity>
<activity android:name=".ActivityViewTestActivity"
android:resizeableActivity="true"
android:theme="@*android:style/Theme.NoTitleBar"
android:exported="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density">
</activity>
<activity android:name=".ActivityViewVisibilityActivity"
android:label="AV Visibility"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density">
</activity>
</application>
</manifest>