<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <View
        android:id="@+id/outlined_switch_control_outline"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:background="@drawable/rounded_outline"
        app:layout_constraintBottom_toBottomOf="@id/outlined_switch_control_text"
        app:layout_constraintEnd_toEndOf="@id/outlined_switch_switch"
        app:layout_constraintStart_toStartOf="@id/outlined_switch_control_text"
        app:layout_constraintTop_toTopOf="@id/outlined_switch_control_text" />

    <TextView
        android:id="@+id/outlined_switch_control_text"
        android:layout_width="0dp"
        android:layout_height="48sp"
        android:layout_marginStart="@dimen/dsl_settings_gutter"
        android:layout_marginEnd="@dimen/dsl_settings_gutter"
        android:gravity="center_vertical"
        android:paddingStart="16dp"
        android:paddingEnd="16dp"
        android:text="@string/SubscribeThanksForYourSupportBottomSheetDialogFragment__display_on_profile"
        android:textAppearance="@style/TextAppearance.Signal.Body1"
        app:layout_constraintEnd_toStartOf="@id/outlined_switch_switch"
        app:layout_constraintHorizontal_chainStyle="spread"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <com.google.android.material.switchmaterial.SwitchMaterial
        android:id="@+id/outlined_switch_switch"
        android:layout_width="wrap_content"
        android:layout_height="48sp"
        android:layout_marginEnd="@dimen/dsl_settings_gutter"
        android:paddingStart="16dp"
        android:paddingEnd="16dp"
        app:layout_constraintBottom_toBottomOf="@id/outlined_switch_control_text"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@id/outlined_switch_control_text"
        app:layout_constraintTop_toTopOf="@id/outlined_switch_control_text" />

</androidx.constraintlayout.widget.ConstraintLayout>