Android: hide the statusbar in Chrome Custom Tabs

╄→гoц情女王★ 提交于 2021-01-28 22:37:25

问题


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

Is it possible?


回答1:


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

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



来源:https://stackoverflow.com/questions/38491936/android-hide-the-statusbar-in-chrome-custom-tabs

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