chromium/components/infobars/android/res/layout/infobar_control_toggle.xml

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2015 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:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:minHeight="36dp"
    android:gravity="center_vertical">

    <ImageView
        android:id="@+id/control_icon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="@dimen/dual_control_margin_between_items"
        android:scaleType="centerInside"
        tools:ignore="ContentDescription" />

    <TextView
        android:id="@+id/control_message"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:layout_marginEnd="@dimen/dual_control_margin_between_items"
        android:gravity="center_vertical"
        android:textAppearance="@style/TextAppearance.TextLarge.Primary" />

    <com.google.android.material.materialswitch.MaterialSwitch
        android:id="@+id/control_toggle_switch"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

</LinearLayout>