<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingTop="20dp"
    android:paddingEnd="20dp"
    android:paddingStart="20dp"
    android:paddingBottom="10dp">

    <ImageView
        android:id="@+id/info_button"
        android:layout_width="24dp"
        android:layout_height="24dp"
        app:srcCompat="@drawable/ic_info"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:tint="@color/contrast_text_private_theme"/>

    <TextView
        android:id="@+id/title"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="32dp"
        android:paddingBottom="12dp"
        android:textAppearance="?android:attr/textAppearanceListItem"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="@string/search_suggestions_onboarding_title"
        tools:textAppearance="?android:attr/textAppearanceListItem"/>

    <TextView
        android:id="@+id/text"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceSmall"
        app:layout_constraintBottom_toTopOf="@id/learn_more"
        app:layout_constraintEnd_toEndOf="@id/title"
        app:layout_constraintStart_toStartOf="@id/title"
        app:layout_constraintTop_toBottomOf="@id/title"
        tools:text="@string/search_suggestions_onboarding_text"
        tools:textAppearance="?attr/textAppearanceListItemSmall"/>

    <TextView
        android:id="@+id/learn_more"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:text="@string/exceptions_empty_message_learn_more_link"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:textColor="?attr/accentHighContrast"
        android:textStyle="bold"
        app:layout_constraintBottom_toTopOf="@id/allow"
        app:layout_constraintEnd_toEndOf="@id/title"
        app:layout_constraintStart_toStartOf="@id/title"
        app:layout_constraintTop_toBottomOf="@id/text"
        tools:textColor="@color/accent_high_contrast_private_theme"/>

    <com.google.android.material.button.MaterialButton
        android:id="@+id/allow"
        style="@style/ThemeIndependentMaterialGreyButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="12dp"
        android:text="@string/search_suggestions_onboarding_allow_button"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="@id/title"
        app:layout_constraintTop_toBottomOf="@id/learn_more" />

    <TextView
        android:id="@+id/dismiss"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:padding="20dp"
        android:text="@string/search_suggestions_onboarding_do_not_allow_button"
        android:textColor="#ffffff"
        android:textStyle="bold"
        app:layout_constraintBottom_toBottomOf="@id/allow"
        app:layout_constraintEnd_toStartOf="@id/allow"
        app:layout_constraintTop_toTopOf="@id/allow" />

</androidx.constraintlayout.widget.ConstraintLayout>
