<?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="match_parent"
    android:padding="?attr/dialogPreferredPadding">

    <org.thoughtcrime.securesms.util.views.CheckedLinearLayout
        android:id="@+id/quality_selector_dialog_standard"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginEnd="8dp"
        android:background="@drawable/checkable_outline_background"
        android:gravity="center_horizontal"
        android:orientation="vertical"
        android:padding="8dp"
        app:layout_constraintEnd_toStartOf="@+id/quality_selector_dialog_high"
        app:layout_constraintHorizontal_chainStyle="spread"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <CheckedTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/QualitySelectorBottomSheetDialog__standard"
            android:textAppearance="@style/TextAppearance.Signal.Body2.Bold"
            android:textColor="@color/quality_selector_button_text" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/QualitySelectorBottomSheetDialog__faster_less_data"
            android:textAppearance="@style/TextAppearance.Signal.Subtitle"
            android:textColor="@color/signal_text_secondary" />

    </org.thoughtcrime.securesms.util.views.CheckedLinearLayout>

    <org.thoughtcrime.securesms.util.views.CheckedLinearLayout
        android:id="@+id/quality_selector_dialog_high"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="8dp"
        android:background="@drawable/checkable_outline_background"
        android:gravity="center_horizontal"
        android:orientation="vertical"
        android:padding="8dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@+id/quality_selector_dialog_standard"
        app:layout_constraintTop_toTopOf="parent">

        <CheckedTextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/QualitySelectorBottomSheetDialog__high"
            android:textAppearance="@style/TextAppearance.Signal.Body2.Bold"
            android:textColor="@color/quality_selector_button_text" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/QualitySelectorBottomSheetDialog__slower_more_data"
            android:textAppearance="@style/TextAppearance.Signal.Subtitle"
            android:textColor="@color/signal_text_secondary" />

    </org.thoughtcrime.securesms.util.views.CheckedLinearLayout>

    <androidx.appcompat.widget.AppCompatTextView
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="24dp"
        android:gravity="center"
        android:text="@string/QualitySelectorBottomSheetDialog__photo_quality"
        android:textAppearance="@style/TextAppearance.Signal.Body2"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/quality_selector_dialog_standard" />

</androidx.constraintlayout.widget.ConstraintLayout>