<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent" android:layout_height="match_parent" android:background="#F1F5F9">
 <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"
     android:orientation="vertical" android:padding="20dp" android:gravity="center_horizontal">

   <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
       android:text="Linked Quick Call Extension" android:textSize="20sp" android:textStyle="bold"
       android:textColor="#0F172A" android:layout_marginBottom="6dp"/>
   <TextView android:layout_width="match_parent" android:layout_height="wrap_content"
       android:text="Install the Quick Call browser extension on your computer, then scan this code from it to link this phone. Clicking a phone number on any webpage will then open your dialer here, ready to call."
       android:textColor="#64748B" android:textSize="13sp" android:gravity="center" android:layout_marginBottom="20dp"/>

   <FrameLayout android:layout_width="260dp" android:layout_height="260dp" android:background="#FFFFFF"
       android:padding="12dp" android:layout_marginBottom="16dp">
     <ImageView android:id="@+id/qrImage" android:layout_width="match_parent" android:layout_height="match_parent"
       android:contentDescription="Pairing QR code"/>
     <ProgressBar android:id="@+id/loading" android:layout_width="40dp" android:layout_height="40dp"
       android:layout_gravity="center"/>
   </FrameLayout>

   <TextView android:id="@+id/statusText" android:layout_width="wrap_content" android:layout_height="wrap_content"
       android:textColor="#64748B" android:textSize="13sp" android:layout_marginBottom="16dp"
       android:text="Generating a code…"/>

   <TextView android:id="@+id/btnRegenerate" android:layout_width="wrap_content" android:layout_height="wrap_content"
       android:text="Generate a new code" android:textColor="#2563EB" android:textStyle="bold"
       android:padding="10dp" android:visibility="gone"/>
 </LinearLayout>
</ScrollView>
