<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (C) 2017 Google Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->

<com.android.setupwizardlib.GlifLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/setup_wizard_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:icon="@drawable/ic_network_signal"
    app:suwFooter="@layout/footer_skip_only">

    <LinearLayout
        style="@style/SuwContentFrame"
        android:id="@+id/content_frame"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <!-- String will be set at runtime because it needs to first process the ICU syntax -->
        <TextView
            android:id="@+id/sim_missing_description"
            style="@style/SuwDescription.Glif"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

        <com.android.setupwizardlib.view.FillContentLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:maxHeight="264dp"
            android:maxWidth="264dp"
            android:layout_weight="1">

            <com.android.setupwizardlib.view.IllustrationVideoView
                android:id="@+id/background"
                style="@style/SuwContentIllustration"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:contentDescription="@string/sim_missing_content_description"
                app:suwVideo="@raw/sim_illustration" />

        </com.android.setupwizardlib.view.FillContentLayout>

        <LinearLayout
            android:id="@+id/esim_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:background="?android:attr/selectableItemBackground">

            <View
                android:background="?android:attr/listDivider"
                android:layout_width="match_parent"
                android:layout_height="1dp" />

            <include layout="@layout/items_esim" />

            <View
                android:background="?android:attr/listDivider"
                android:layout_width="match_parent"
                android:layout_height="1dp" />
        </LinearLayout>

    </LinearLayout>

</com.android.setupwizardlib.GlifLayout>
