<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2024 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<LinearLayout 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="wrap_content"
android:padding="24dp"
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="true"
android:gravity="center"
android:layout_gravity="center"
android:layout_marginBottom="16dp"
android:ellipsize="end"
android:lineHeight="20sp"
android:maxLines="7"
android:textAppearance="@style/TextAppearance.Headline.Primary" />
<LinearLayout
android:id="@+id/option_install"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="2dp">
<FrameLayout
android:layout_width="52dp"
android:layout_height="52dp"
android:layout_margin="6dp"
android:layout_gravity="center_vertical">
<ProgressBar
android:id="@+id/spinny_install"
android:layout_width="38dp"
android:layout_height="38dp"
android:layout_gravity="center" />
<ImageView
android:id="@+id/app_icon_install"
android:layout_width="42dp"
android:layout_height="42dp"
android:layout_gravity="center"
android:importantForAccessibility="no"
android:visibility="gone" />
<ImageView
android:id="@+id/install_icon_overlay"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="bottom|end"
android:importantForAccessibility="no"
android:visibility="gone" />
</FrameLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/option_text_install"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/pwa_uni_install_option_install"
android:textAppearance="@style/TextAppearance.TextLarge.Primary" />
<TextView
android:id="@+id/option_text_install_explanation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:textAppearance="@style/TextAppearance.TextMedium.Primary" />
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/arrow_install"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginEnd="16dp"
android:layout_gravity="center_vertical"
android:importantForAccessibility="no" />
</LinearLayout>
<View
android:id="@+id/separator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<LinearLayout
android:id="@+id/option_shortcut"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="2dp">
<FrameLayout
android:layout_width="52dp"
android:layout_height="52dp"
android:layout_margin="6dp"
android:layout_gravity="center_vertical">
<ProgressBar
android:id="@+id/spinny_shortcut"
android:layout_width="38dp"
android:layout_height="38dp"
android:layout_gravity="center" />
<ImageView
android:id="@+id/app_icon_shortcut"
android:layout_width="42dp"
android:layout_height="42dp"
android:layout_gravity="center"
android:importantForAccessibility="no"
android:visibility="gone" />
<ImageView
android:id="@+id/shortcut_icon_overlay"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="bottom|end"
android:importantForAccessibility="no"
android:visibility="gone" />
</FrameLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/option_text_shortcut"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/pwa_uni_install_option_shortcut"
android:textAppearance="@style/TextAppearance.TextLarge.Primary" />
<TextView
android:id="@+id/option_text_shortcut_explanation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/pwa_uni_install_option_shortcut_explanation"
android:textAppearance="@style/TextAppearance.TextMedium.Primary" />
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/arrow_shortcut"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginEnd="16dp"
android:layout_gravity="center_vertical"
android:importantForAccessibility="no" />
</LinearLayout>
</LinearLayout>