我应该使用哪种视图来获得如下图所示的 WebView 的标题和 Url?

What kind of View should I use so to get the Title and the Url of a WebView like in the image below?

WebView with Title and Url and action menu that opens the page into Chrome

因此您可以看到标题 "Casi di femminicidio..." 和标题下方的 Url。在右侧有一个菜单,其中包含一个按钮,可以将 url 直接打开到 chrome 选项卡中。我认为向用户展示实际的 url 和这样的协议会很好。它是默认视图类型吗?

将此行添加到您的依赖项中:

implementation 'com.android.support:customtabs:26.1.0'

然后使用:

new CustomTabsIntent
            .Builder()
            .build()
            .launchUrl(this, Uri.parse("http://google.com"));

如果您想更改条形图的颜色,请使用:

            .setToolbarColor()

更多信息:https://developer.chrome.com/multidevice/android/customtabs

祝你好运!