<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2023 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"
android:id="@+id/content_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:id="@+id/back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/back"
android:importantForAccessibility="yes"
android:layout_marginStart="24dp"
android:layout_marginTop="30dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/title_content"
android:drawablePadding="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="64dp"
android:layout_marginTop="26dp"
android:clickable="true"
android:importantForAccessibility="yes"
app:layout_constraintStart_toEndOf="@id/back"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:textAppearance="@style/TextAppearance.Headline.Primary" />
<TextView
android:id="@+id/description_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="29dp"
android:paddingEnd="24dp"
android:paddingStart="24dp"
android:paddingTop="25dp"
android:clickable="true"
android:importantForAccessibility="yes"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/title_content"
android:ellipsize="end"
android:lineHeight="20sp"
android:maxLines="7"
android:textAppearance="@style/TextAppearance.TextMedium.Primary" />
<ScrollView
android:id="@+id/pwa_list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginEnd="24dp"
android:layout_marginStart="24dp"
android:minHeight="50dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/description_content"
app:layout_constraintBottom_toTopOf="@id/separator">
<LinearLayout
android:id="@+id/scroll_view_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
</LinearLayout>
</ScrollView>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="invisible"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent" />
<View
android:id="@+id/separator"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginBottom="16dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toTopOf="@id/restore_button"
style="@style/HorizontalDivider" />
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/deselect_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/restore_button"
android:layout_marginBottom="18dp"
android:layout_marginEnd="24dp"
android:layout_marginTop="34dp"
android:enabled="false"
android:singleLine="true"
android:gravity="center"
style="@style/TextButton"/>
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/restore_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="18dp"
android:layout_marginEnd="24dp"
android:layout_marginTop="34dp"
android:enabled="false"
android:singleLine="true"
android:gravity="center"
style="@style/FilledButton"/>
</androidx.constraintlayout.widget.ConstraintLayout>