<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2020 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_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="horizontal">
<ImageView android:id="@+id/check_status_illustration"
android:importantForAccessibility="no"
android:layout_width="@dimen/check_status_illustration_width"
android:layout_height="@dimen/check_status_illustration_height"
android:layout_gravity="start"
android:visibility="visible"/>
</LinearLayout>
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="horizontal">
<ProgressBar
android:id="@+id/check_status_progress"
android:indeterminate="true"
android:layout_width="@dimen/check_status_icon_size"
android:layout_height="@dimen/check_status_icon_size"
android:layout_marginEnd="@dimen/check_status_icon_margin_horizontal"
android:layout_marginStart="@dimen/check_status_icon_margin_horizontal"
android:layout_gravity="center_vertical"
android:visibility="gone" />
<ImageView
android:importantForAccessibility="no"
android:id="@+id/check_status_icon"
android:layout_width="@dimen/check_status_icon_size"
android:layout_height="match_parent"
android:layout_marginEnd="@dimen/check_status_icon_margin_horizontal"
android:layout_marginStart="@dimen/check_status_icon_margin_horizontal"
android:visibility="gone" />
<LinearLayout
android:id="@+id/check_status_text_layout"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/check_status_message"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:textAppearance="@style/TextAppearance.TextLarge.Primary" />
<TextView
android:id="@+id/check_status_description"
android:layout_marginTop="@dimen/check_status_description_margin_top"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:textAppearance="@style/TextAppearance.TextSmall.Secondary"
android:visibility="gone" />
</LinearLayout>
<ImageButton
android:id="@+id/check_status_restart_button"
android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/accessibility_password_check_restart_button"
android:layout_gravity="center_vertical|end"
android:layout_marginEnd="@dimen/check_status_restart_button_margin_end"
android:layout_height="@dimen/check_status_restart_button_clickable_surface_size"
android:layout_width="@dimen/check_status_restart_button_clickable_surface_size"
android:src="@drawable/ic_refresh_white_24dp"
app:tint="@macro/default_icon_color"/>
</LinearLayout>
<View style="@style/HorizontalDivider"/>
<TextView
android:id="@+id/check_status_subtitle"
android:layout_margin="@dimen/check_status_subtitle_margin"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:textAppearance="@style/TextAppearance.TextMedium.Secondary"
android:visibility="gone" />
</LinearLayout>