Kindle Fire Customize Soft Key menu

落爺英雄遲暮 提交于 2019-12-02 09:25:13

问题


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.


回答1:


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.

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)

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

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



来源:https://stackoverflow.com/questions/12807883/kindle-fire-customize-soft-key-menu

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