Android:在 Chrome 自定义标签中隐藏状态栏 [英] Android: hide the statusbar in Chrome Custom Tabs

查看:44
本文介绍了Android:在 Chrome 自定义标签中隐藏状态栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用中使用 Chrome 自定义标签启动了一些 url,我想从打开的窗口中隐藏状态栏.

I launch some url with Chrome Custom Tabs in my app and I want to hide the statusbar from the opened window.

有可能吗?

推荐答案

目前,无法在 Chrome 中打开隐藏状态栏的自定义选项卡.

Currently, it's not possible to open a Custom Tab in Chrome with the status bar hidden.

当用户向下滚动内容时,可以通过调用 CustomTabsIntent.enableUrlHiding()

It is possible to enable the bar to hide once the user scrolls down the content by calling CustomTabsIntent.enableUrlHiding()

这篇关于Android:在 Chrome 自定义标签中隐藏状态栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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