Kindle Fire自定义软键菜单 [英] Kindle Fire Customize Soft Key menu

查看:146
本文介绍了Kindle Fire自定义软键菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人知道如何从软键菜单中删除或隐藏菜单和搜索按钮.我想完成在Pulse应用程序中隐藏搜索按钮或Kindle Fire帮助&的操作.反馈应用程序,其中搜索和菜单按钮均被隐藏.

Does anyone know how to remove or hide the menu and search buttons from the soft key menu. I'd like to accomplish what is being done in the Pulse app where the search button is hidden or the Kindle Fire help & feedback app where both the search and menu buttons are hidden.

我很好奇他们是否实际上在修改软键菜单,或者使应用全屏显示并在其位置放置菜单图形.

I was curious if they are actually modifying the soft key menu, or making the app fullscreen and placing a graphic of the menu in it's place.

我知道这篇文章,因为存在一些似乎带有修改后的软键的应用程序示例,因此无法充分回答该问题.

I'm aware of This post, which does not adequately answer the question, as there are example of apps with what appears to be modified soft keys.

推荐答案

您无法自定义软键工具栏上显示的内容,尽管您可以从溢出菜单中添加/删除项目以及拦截返回和搜索按钮

you can't customize what appears on the soft key toolbar, though you can add/remove items from the overflow menu as well as intercept the back and search buttons.

在API15及更高版本中,溢出菜单应自动消失,但它并不总是可靠的(在任何具有溢出/操作菜单的Android设备上)

The overflow menu should automatically disappear in API15 and above, but it's not always reliable (on any Android device with an overflow/action menu)

在FireHD的Pulse应用中,工具栏仍然可见(正常情况下带有搜索按钮)

In the Pulse app on my FireHD the toolbar is still visible (with a search button as normal)

有关其最新博客文章和所引用的SDK文档的更多信息 http://www .amazonappstoredev.com/2012/10/optimizing-for-soft-key-support-on-kindle-fire-hd.html

More information both on their latest blog post and in the SDK docs referenced http://www.amazonappstoredev.com/2012/10/optimizing-for-soft-key-support-on-kindle-fire-hd.html

这篇关于Kindle Fire自定义软键菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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