[英]Android: hide the statusbar in Chrome Custom Tabs
I launch some url with Chrome Custom Tabs in my app and I want to hide the statusbar from the opened window. 我在应用中使用“ Chrome自定义标签”启动了一些网址,并且希望在打开的窗口中隐藏状态栏。
Is it possible? 可能吗?
Currently, it's not possible to open a Custom Tab in Chrome with the status bar hidden. 目前,无法在状态栏处于隐藏状态的Chrome中打开“自定义标签”。
It is possible to enable the bar to hide once the user scrolls down the content by calling CustomTabsIntent.enableUrlHiding()
一旦用户向下滚动内容,可以通过调用
CustomTabsIntent.enableUrlHiding()
来使该栏隐藏。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.