卸下HTC一个浮动菜单按钮 [英] Remove Floating menu button from HTC one

查看:257
本文介绍了卸下HTC一个浮动菜单按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个已经运行了数年的应用程序,并不断获得的更新。
它最初曾与一些快捷菜单,但它并不需要操作的应用程序,所以没有什么大不了的菜单按钮,从开始的新设备中消失。

I have an app that's been running for years, and constantly get's updated. Originally it had a menu with some shortcuts, but it's not necessary to operate the app, so no big deal as the menu button started to disappear from new devices.

现在我有一个客户抱怨时出现的浮动菜单按钮,他的HTC之一,它实际上涵盖在我的应用程序的一些其他按钮。
(这不是我的三星S5也联想瑜伽平板电脑的情况下)

Now I have a customer complaining that a floating menu button appears on he's HTC one, and it actually covers some other buttons in my app. (That's not the case on my Samsung S5 nor Lenovo Yoga tablet)

我已经删除onCreateOptionsMenu,并从我的活动onOptionsItemSelected了,我不能再访问我的设备菜单,但HTC用户说的浮动菜单按钮仍然对他的HTC,它只是不做任何事情。

I've removed "onCreateOptionsMenu" and "onOptionsItemSelected" from my activity, and I can no longer access the menu on my devices, but the HTC user says the floating menu button is still on he's HTC, it just doesn't do anything.

我如何删除按钮?

推荐答案

您必须设置你的targetSdk高于13的Gradle的构建文件。

You have to set your targetSdk higher then 13 in your gradle build files.

由于Ankush夏尔马的答案
<一href=\"http://stackoverflow.com/a/33086729/2607567\">http://stackoverflow.com/a/33086729/2607567.

Thanks to the answer of Ankush Sharma http://stackoverflow.com/a/33086729/2607567.

这篇关于卸下HTC一个浮动菜单按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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