<?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.
-->

<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/PreferenceLayout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <LinearLayout
        android:id="@+id/central_account_card"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_horizontal"
        android:orientation="vertical">

        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="8dp">

            <ImageView
                android:id="@+id/central_account_image"
                android:layout_width="@dimen/sync_promo_account_image_size"
                android:layout_height="@dimen/sync_promo_account_image_size"
                android:layout_gravity="center"
                android:importantForAccessibility="no"
                android:scaleType="fitCenter"/>

        </FrameLayout>

        <TextView
            android:id="@+id/central_account_primary_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:textAlignment="center"
            android:textAppearance="@style/TextAppearance.TextLarge.Primary"/>

        <TextView
            android:id="@+id/central_account_secondary_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:textAlignment="center"
            android:textAppearance="@style/TextAppearance.TextSmall.Secondary"/>

    </LinearLayout>

</FrameLayout>
