PhoneGap Build Android创建带有3个点的浮动气泡 [英] PhoneGap Build Android creates floating bubble with 3 dots

查看:88
本文介绍了PhoneGap Build Android创建带有3个点的浮动气泡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Phonegap Build创建了一个Android应用,它创建了一个带有3个点的浮动气泡.当我在计算机上测试我的应用程序时,它不会创建这三个点,只有在我的Galaxy S6上运行它时才创建.下面是一张图片:

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:

推荐答案

这是确定的答案,您需要调整config.xml:

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

  • 如果将minSdkVersion或targetSdkVersion设置为11或更高, 系统将不会添加旧版溢出按钮.

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

否则,系统将在以下情况下添加旧版溢出按钮: 在Android 3.0或更高版本上运行.

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

唯一的例外是,如果将minSdkVersion设置为10或更低, 将targetSdkVersion设置为11、12或13,并且您不使用ActionBar, 系统会在运行您的应用程序时添加旧版溢出按钮 在装有Android 4.0或更高版本的手机上.

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.

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

这篇关于PhoneGap Build Android创建带有3个点的浮动气泡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆