我正在尝试在我的应用程序中支持分屏功能。
目标 SDK 目前为 27
defaultConfig {
applicationId "com.myvestige.vestigedeal"
minSdkVersion 19
targetSdkVersion 27
versionCode 46
versionName "5.5"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
并在应用程序标签的清单内将 resizeableActivity 添加为“true”。
<application
android:name=".activity.MyApplication"
android:allowBackup="false"
android:icon="@drawable/newicon1"
android:label="@string/app_name"
android:largeHeap="true"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:replace="android:icon"
android:resizeableActivity="true">
仍然当我用三个手指向下滑动(手动分屏)时,出现“此应用不支持分屏或画中画”。
还附上了我收到的错误消息的屏幕截图。我正在使用 vivo-v9(8.1.0) 进行支持分屏的测试。
请帮助我找出我做错了什么。
谢谢