问题描述
我的应用程序的用户抱怨他无法在弹出窗口中打开该应用程序(像这样).
A user of my app complained that he can't open the app in a popup window (like this).
当他尝试这样做时,会出现一个吐司,说此应用程序无法在弹出视图中显示".
When he tries to do so, a toast saying "This app cannot be shown in popup-view" appears.
我找不到有关此功能的任何文档,特别是没有关于为您的应用启用它的文档.一些用户似乎觉得这很有用,所以我考虑在不需要太多工作的情况下为我的应用启用它.
I couldn't find any documentation about this feature, specifically not about enabling it for your app. Some users seem to find this useful so I thought about enabling that for my app if that isn't to much work.
谁能指出我该功能的文档,或者更好地解释如何将其添加到Android应用程序中?
Could anyone point me to the documentation of this feature or better yet explain how to add it to an Android app?
推荐答案
将这些行放入AndroidManifest.xml
put these lines in AndroidManifest.xml
<meta-data android:name="com.samsung.android.sdk.multiwindow.enable"
android:value="true"/>
感谢 saurabh1489
这篇关于如何使应用程序支持三星的弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!