android - 如何处理 amazon kindle fire 上的底部工具栏

标签 android toolbar tablet kindle-fire

在 amazon kindle 上似乎有一个底部工具栏占用了我的全屏应用程序的空间,但应用程序本身认为它占据了整个屏幕,所以它的一部分总是被工具栏隐藏。

其他平板电脑的情况不同,所以我猜问题出在 amazon kindle fire 上。

有没有办法解决这个问题?

也许有一个 amazon kindle fire 的 sdk 可以帮助解决这个问题?也许是一种将工具栏放在上侧的方法,或者使应用程序尽可能采用实际大小,不包括工具栏占用的空间?

请帮忙。

最佳答案

maybe there is an sdk for amazon kindle fire which can help with it?

目前没有。

maybe a way to put the toolbar on the upper side

不,对不起。

make the app take the real size that it can, excluding the space taken by the toolbar?

欢迎您为此编写代码。作为the Kindle Fire documentation状态:

*Note: The device will reserve 20px to display a soft key menu, making the effective portrait resolution 1004px high x 600px wide and the effective landscape resolution 580px high x 1024px wide.

因此,对于 Fire,请确保您没有使用超过上述尺寸的空间,并且您不必担心酒吧。

关于android - 如何处理 amazon kindle fire 上的底部工具栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9340606/

相关文章:

Android,使用相同的 Activity 类启动新 Activity ,这可能吗?

java - android app Toolbar.setTitle error Attempt to invoke virtual method 'void.androidx.appcompat.widget' 错误

android - 响应式设计 - 不在平板电脑上显示我的平板电脑设计

jquery - 如何用jQuery调用平板电脑的键盘?

android - ViewPager 中的 ScrollView

android - 使用 phonegap 创建 Android 小部件

android - 在工具栏下方添加 fragment

testing - 用于响应式网站的分析软件

java - 让文字通过相机出现

java - 如何右对齐 Java SWT Unified ToolBar (OS X) 中的搜索栏