本文介绍了在Android铬亭模式或全屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立了一个铬ContentShell我的Andr​​oid设备如下解释:

I have built a chromium ContentShell for my android device as explained here:

我现在想在全屏模式下使用此ContentShell。我尝试添加旗亭如下解释:

I now want to use this ContentShell in fullscreen mode. I tried to add the flag kiosk as explained here:

但它不工作。有没有在Android上使用Kiosk模式与铬或你会推荐另一种方式来实现我希望有一种方式? (没有任何地址栏/菜单,也没有系统的UI栏的网站在全屏显示)

But it is not working. Is there a way to use kiosk mode on android with chromium or would you recommend another way to achieve what i want to have? (display of website in fullscreen without any address bar/menu and also no system ui bars)

推荐答案

要摆脱我这样做的系统UI酒吧:

To get rid of the system UI bars I did this:

service call activity 42 s16 com.android.systemui

按如下说明:http://stackoverflow.com/a/19373504/3640770

然后我编辑shell_view.xml,并已将此添加的LinearLayout负责工具栏:

Then I edited shell_view.xml and added this to the LinearLayout responsible for the toolbar:

android:visibility="gone"

按如下说明:的

这篇关于在Android铬亭模式或全屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 21:24