chromium/android_webview/tools/sdk_sandbox/webview_client/res/layout/activity_main.xml

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2023 The Chromium Authors
     Use of this source code is governed by a BSD-style license that can be
     found in the LICENSE file.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:gravity="center">
    <androidx.appcompat.widget.Toolbar
         android:id="@+id/browser_toolbar"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:elevation="4dp" />
    <Button
        android:id="@+id/btn_load_sdk"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:text="@string/load_sdk_provider" />

    <Button
        android:id="@+id/btn_load_surface_package"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:text="@string/load_surface_package" />

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <EditText
            android:hint="@string/url_hint"
            android:id="@+id/url_field"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1.0"
            android:singleLine="true"
            android:inputType="textUri"
            android:selectAllOnFocus="true"
            android:imeOptions="actionGo"
            android:importantForAutofill="no" />
        <ImageButton
            android:id="@+id/btn_load_url"
            android:background="@null"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:src="@drawable/breadcrumb_arrow_black"
            android:contentDescription="@string/load_url" />
    </LinearLayout>

    <SurfaceView
        android:id="@+id/rendered_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />
</LinearLayout>