<?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.
-->
<org.chromium.chrome.browser.pwd_migration.ScrollablePasswordMigrationWarningContent
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical"
android:id="@+id/post_pwd_migration_sheet">
<ImageView
android:id="@+id/drag_handlebar"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/pwd_migration_warning_margin"
android:layout_marginVertical="6dp"
android:layout_gravity="center_horizontal"
android:importantForAccessibility="no"
app:srcCompat="@drawable/drag_handlebar" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="false"
android:layout_below="@id/drag_handlebar"
android:id="@+id/post_pwd_migration_sheet_scroll_view">
<LinearLayout
android:id="@+id/sheet_item_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/pwd_migration_warning_margin"
android:layout_marginBottom="24dp"
android:clipToPadding="false"
android:divider="@null"
android:orientation="vertical">
<ImageView
android:id="@+id/sheet_header_image"
android:layout_width="@dimen/pwd_migration_warning_icon_size"
android:layout_height="@dimen/pwd_migration_warning_icon_size"
android:layout_gravity="center_horizontal"
android:layout_marginVertical="16dp"
android:importantForAccessibility="no"/>
<androidx.appcompat.widget.DialogTitle
android:id="@+id/sheet_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_gravity="center_horizontal"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.AlertDialogTitleStyle"/>
<org.chromium.ui.widget.TextViewWithLeading
android:id="@+id/sheet_subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:textAlignment="center"
android:layout_marginBottom="@dimen/pwd_migration_warning_margin"
android:textAppearance="@style/TextAppearance.TextMedium.Secondary"/>
<org.chromium.ui.widget.ButtonCompat
android:descendantFocusability="blocksDescendants"
android:id="@+id/acknowledge_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:minHeight="@dimen/pwd_migration_warning_button_height"
android:ellipsize="end"
android:singleLine="true"
android:text="@string/password_migration_warning_acknowledge"
style="@style/FilledButton"/>
</LinearLayout>
</ScrollView>
</org.chromium.chrome.browser.pwd_migration.ScrollablePasswordMigrationWarningContent>