PhoneGap Build Android creates floating bubble with 3 dots

删除回忆录丶 提交于 2019-12-12 05:58:17

问题


I created an Android app with Phonegap Build and it created a floating bubble with 3 dots in it. When I test my app on my computer it does not create these three dots, only when I run it on my Galaxy S6. Below is a picture:


回答1:


Okay Mike,
I suspected this was addition or replacement for the defunct [Menu Button].

Recently, I did some demo Apps on Phonegap Events. Among the apps, was the demo for events: for Physical Buttons (backbutton, menubutton, searchbutton), which includes NOTES for changes in those buttons. The big news was the Menu button is dead.

If you Google: samsung 3 dots galaxy s6, the first link from an Android forum confirms that circle with 3 dots is specific to your Samsung Galaxy S6. If you read the thread, it says there is no way to get rid of it. (but I'm not so certain).

In any case, this is NOT a Phonegap or Cordova issue. If anything, it is specific to your phone. Welcome to the Android World!
Best of Luck,
Jesse




回答2:


Here's the definitive answer, you need to tweak your config.xml:

  • If you set either minSdkVersion or targetSdkVersion to 11 or higher, the system will not add the legacy overflow button.

  • Otherwise, the system will add the legacy overflow button when running on Android 3.0 or higher.

  • The only exception is that if you set minSdkVersion to 10 or lower, set targetSdkVersion to 11, 12, or 13, and you do not use ActionBar, the system will add the legacy overflow button when running your app on a handset with Android 4.0 or higher.

From: http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html



来源:https://stackoverflow.com/questions/31900356/phonegap-build-android-creates-floating-bubble-with-3-dots

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!