How to hide url in Chrome custom tab android

随声附和 提交于 2019-12-01 02:43:47

It is not currently possible to hide the url below the title. The urls needs to visible to the user, so that they can know in which site they are. By removing this from the UI, a malicious site could mimic the UI of another one, and this could potentially create a security issue for users.

You cannot hide the url alone. You can only get rid of the whole title bar, that too when the user scroll the view. To achieve this,use

intentBuilder.enableUrlBarHiding();

Prashant Jajal

You can try setShowTitle(false) of your custom tab.

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