<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<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_height="match_parent"
android:layout_width="match_parent"
android:layout_marginTop="12dp"
android:background="@android:color/transparent">
<ImageButton
android:id="@+id/fast_checkout_toolbar_back_image_button"
android:layout_width="wrap_content"
android:layout_height="?attr/actionBarSize"
android:paddingLeft="20dp"
android:paddingRight="20dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:src="@drawable/ic_arrow_back_24dp"
app:tint="@macro/default_icon_color"
android:background="?attr/actionBarItemBackground"
android:contentDescription="@string/fast_checkout_back_to_home_screen_icon_description"
android:nextFocusRight="@+id/fast_checkout_toolbar_settings_image_button"/>
<TextView
android:id="@+id/fast_checkout_toolbar_title_text_view"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:ellipsize="end"
android:singleLine="true"
app:layout_constrainedWidth="true"
app:layout_constraintTop_toTopOf="@+id/fast_checkout_toolbar_back_image_button"
app:layout_constraintBottom_toBottomOf="@+id/fast_checkout_toolbar_back_image_button"
app:layout_constraintStart_toEndOf="@+id/fast_checkout_toolbar_back_image_button"
app:layout_constraintEnd_toStartOf="@+id/fast_checkout_toolbar_settings_image_button"
style="@style/TextAppearance.Headline"/>
<ImageButton
android:id="@+id/fast_checkout_toolbar_settings_image_button"
android:layout_width="wrap_content"
android:layout_height="?attr/actionBarSize"
android:paddingLeft="20dp"
android:paddingRight="20dp"
app:layout_constraintTop_toTopOf="@+id/fast_checkout_toolbar_back_image_button"
app:layout_constraintBottom_toBottomOf="@+id/fast_checkout_toolbar_back_image_button"
app:layout_constraintEnd_toEndOf="parent"
android:src="@drawable/settings_cog"
app:tint="@macro/default_icon_color"
android:background="?attr/actionBarItemBackground"
android:nextFocusLeft="@+id/fast_checkout_toolbar_back_image_button"
tools:ignore="ContentDescription"/>
<View
android:id="@+id/fast_checkout_toolbar_a11y_overlay_view"
android:layout_width="0dp"
android:layout_height="0dp"
android:importantForAccessibility="yes"
android:focusable="true"
android:nextFocusForward="@+id/fast_checkout_toolbar_back_image_button"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/fast_checkout_toolbar_back_image_button"
app:layout_constraintBottom_toBottomOf="@+id/fast_checkout_toolbar_back_image_button"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/fast_checkout_detail_screen_recycler_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:divider="@null"
android:paddingBottom="24dp"
android:paddingLeft="@dimen/fast_checkout_sheet_padding_content"
android:paddingRight="@dimen/fast_checkout_sheet_padding_content"
app:layout_constrainedHeight="true"
app:layout_constraintTop_toBottomOf="@+id/fast_checkout_toolbar_back_image_button"
app:layout_constraintBottom_toBottomOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>