<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    style="@style/dialog_card">

    <LinearLayout
        style="@style/dialog_margins"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginHorizontal="@dimen/dialog_margin_horizontal"
        android:orientation="vertical">

        <TextView android:id="@+id/loading_header"
            style="@style/dialog_title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/dialog_title_margin_bottom"
            android:text="@string/Preparing_for_OTA" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingVertical="@dimen/space_XS"
            android:orientation="horizontal">

            <ProgressBar
                android:id="@+id/connecting_spinner"
                android:layout_width="25dp"
                android:layout_height="25dp"
                android:layout_gravity="center_vertical"
                android:indeterminate="true"
                android:indeterminateDrawable="@drawable/spinner_connecting_ring"
                android:visibility="visible" />

            <TextView
                android:id="@+id/loadingLog"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginHorizontal="@dimen/space_S"
                android:elegantTextHeight="true"
                android:fontFamily="@font/stolzl_medium"
                android:gravity="center"
                android:maxLength="25"
                tools:text="Loading..."/>
        </LinearLayout>


    </LinearLayout>



</androidx.cardview.widget.CardView>