<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:background="#0a0a0f"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <LinearLayout
        android:gravity="center_horizontal"
        android:orientation="vertical"
        android:padding="48dp"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <ImageView
            android:layout_width="64dp"
            android:layout_height="64dp"
            android:src="@drawable/ic_devices"
            android:tint="#ef4444"
            android:contentDescription="@string/cd_device_limit_warning"/>
        <TextView
            android:textSize="28sp"
            android:textStyle="bold"
            android:textColor="@android:color/white"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="16dp"
            android:text="@string/device_lockout_title"/>
        <TextView
            android:textSize="14sp"
            android:textColor="#9ca3af"
            android:gravity="center"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="8dp"
            android:text="@string/device_lockout_message"
            android:lineSpacingMultiplier="1.3"/>
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/device_list"
            android:clipToPadding="false"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_marginTop="24dp"
            android:layout_weight="1"
            android:paddingVertical="8dp"/>
        <Button
            android:textColor="#9ca3af"
            android:id="@+id/sign_out_button"
            android:layout_width="wrap_content"
            android:layout_height="48dp"
            android:layout_marginTop="16dp"
            android:text="@string/device_lockout_sign_out"
            android:backgroundTint="#1f2937"
            android:paddingHorizontal="32dp"/>
    </LinearLayout>
    <ProgressBar
        android:layout_gravity="center"
        android:id="@+id/progress_bar"
        android:visibility="gone"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:indeterminateTint="#3b82f6"/>
</FrameLayout>
