<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<androidx.constraintlayout.widget.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_height="@dimen/search_engine_radio_button_height"
    android:layout_width="match_parent"
    android:background="?android:selectableItemBackground"
    android:clickable="true"
    android:focusable="true">
    <RadioButton
        android:id="@+id/radio_button"
        android:layout_width="@dimen/search_engine_radio_button_height"
        android:layout_height="@dimen/search_engine_radio_button_height"
        android:importantForAccessibility="no"
        android:textAlignment="textStart"
        android:textAppearance="?android:attr/textAppearanceListItem"
        android:layout_marginStart="@dimen/radio_button_padding_horizontal"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
    <TextView
        android:id="@+id/engine_text"
        android:textColor="?primaryText"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginEnd="@dimen/radio_button_padding_horizontal"
        android:text="@string/search_add_custom_engine_label"
        app:layout_constraintStart_toEndOf="@id/radio_button"
        app:layout_constraintTop_toTopOf="@id/radio_button"
        app:layout_constraintBottom_toBottomOf="@id/radio_button"
        app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
