chromium/components/browser_ui/widget/android/java/res/layout/material_switch_with_text.xml

<!--
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.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android">
    <org.chromium.ui.widget.TextViewWithLeading
        android:id="@+id/switch_text"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:focusable="false"
        android:textAppearance="@style/TextAppearance.TextLarge.Primary"
        android:layout_weight="1" />

    <include layout="@layout/preference_switch"
        android:id="@+id/switch_widget"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="end"
        android:focusable="false" />
</merge>