chromium/chrome/browser/password_manager/android/java/res/layout/password_access_loss_export_dialog_view.xml

<?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.components.browser_ui.widget.BoundedLinearLayout
    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:orientation="vertical"
    style="@style/AlertDialogContent"
    app:maxWidthLandscape="@dimen/abc_dialog_min_width_major"
    app:maxWidthPortrait="@dimen/abc_dialog_min_width_minor"
    app:maxHeight="@dimen/modal_dialog_max_height">
  <androidx.appcompat.widget.DialogTitle
      android:id="@+id/title"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:ellipsize="end"
      android:text="@string/access_loss_export_dialog_title"
      android:textAppearance="@style/TextAppearance.AlertDialogTitleStyle" />
  <TextView
      android:id="@+id/message"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_marginVertical="16dp"
      android:text="@string/access_loss_export_dialog_message"
      android:textAppearance="@style/TextAppearance.TextMedium.Secondary" />
  <RelativeLayout android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginBottom="16dp">
    <org.chromium.ui.widget.ButtonCompat
        android:id="@+id/positive_button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:text="@string/access_loss_export_dialog_positive_button_text"
        style="@style/FilledButton" />
    <org.chromium.ui.widget.ButtonCompat
        android:id="@+id/negative_button"
        android:accessibilityTraversalAfter="@+id/positive_button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toStartOf="@id/positive_button"
        android:text="@string/cancel"
        style="@style/TextButton" />
  </RelativeLayout>
</org.chromium.components.browser_ui.widget.BoundedLinearLayout>