<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2026 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<org.chromium.chrome.browser.firstrun.SafetyPromoFirstRunView
    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="@dimen/fre_landscape_margin">

  <LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:baselineAligned="false"
      android:orientation="horizontal">

    <FrameLayout
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:paddingEnd="@dimen/fre_illustration_to_content_margin">

      <ImageView
          android:id="@+id/fre_icon"
          android:layout_width="@dimen/fre_illustration_size"
          android:layout_height="@dimen/fre_illustration_size"
          android:layout_gravity="center"
          android:scaleType="fitCenter"
          android:adjustViewBounds="true"
          android:src="@drawable/fre_product_logo"
          android:importantForAccessibility="no" />
    </FrameLayout>

    <ScrollView
        android:id="@+id/safety_promo_fre_scroll_view"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:fillViewport="true">

      <LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:orientation="vertical">

        <org.chromium.ui.widget.TextViewWithLeading
            android:id="@+id/title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/safety_fre_promo_title"
            android:textAppearance=
                "@style/TextAppearance.HeadlineLargeThick.Primary" />

        <org.chromium.ui.widget.TextViewWithLeading
            android:id="@+id/subtitle"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:paddingTop="@dimen/fre_subtitle_top_padding"
            android:text="@string/safety_fre_promo_description"
            android:textAppearance=
                "@style/TextAppearance.TextMedium.Secondary" />

        <org.chromium.ui.widget.ButtonCompat
            android:id="@+id/fre_continue_button"
            style="@style/FilledButton"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/fre_spacing"
            android:text="@string/safety_fre_promo_start_browsing_button" />
      </LinearLayout>
    </ScrollView>
  </LinearLayout>
</org.chromium.chrome.browser.firstrun.SafetyPromoFirstRunView>
