科尔多瓦PhoneGap的浮动图标Android的三星5+ S6科尔、图标、多瓦、PhoneGap

2023-09-07 00:11:42 作者:变形到不行

我目前正在建立一个应用程序与科尔多瓦/ PhoneGap的iOS和Android。

I'm currently building an App with Cordova/PhoneGap for IOS and Android.

我有,关于我的三星S6显示,但不是三星S4浮动图标的问题。我还测试了在iOS设备上与华硕的Andr​​oid 4.4.2的应用程序,它不会出现在这些设备上。

I am having an issue with a floating Icon that appears on my Samsung S6 but not an Samsung S4. I've also tested the app on IOS devices and Asus Android 4.4.2 and it doesn't appear on those devices.

这是像Android的HALO项目可移动浮动图标。

This is a movable floating icon like the android HALO project.

有谁知道如何彻底清除浮动图标?

Does anyone know how to remove the floating Icon completely?

下面是链接屏幕拍我了。

推荐答案

感谢凯尔指着我在正确的方向。

Thanks Kyle for pointing me in the right direction.

为了解决这个问题,去你androidconfig.xml并添加行

To solve this issue, go to your androidconfig.xml and add the line

 <preference name="android-targetSdkVersion" value="22" />

这将使该浮动菜单图标消失。

This will make that floating menu Icon go away.

值=22瞄准的Andr​​oid 5.1.1

value = "22" is targeting Android 5.1.1

我猜测,因为我并没有说明具体的Andr​​oid SDK使用它增加了一个菜单按钮(动作溢出按钮)。在三星S6溢出至浮动菜单图标。

I'm guessing that since I didn't specify what Android SDK to use it adds a menu button (Action Overflow button). On the Samsung S6 it overflows to a floating menu icon.