<?xml version="1.0" encoding="utf-8"?>
<com.hjq.nested.scroll.layout.NestedScrollLinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center"
    android:orientation="vertical">

    <View
        android:layout_width="wrap_content"
        android:layout_height="0px"
        android:layout_weight="1" />

    <com.airbnb.lottie.LottieAnimationView
        android:id="@+id/iv_status_icon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginBottom="@dimen/dp_10"
        app:lottie_autoPlay="true"
        app:lottie_loop="true"
        tools:src="@drawable/status_network_ic" />

    <com.hjq.custom.widget.view.SmartTextView
        android:id="@+id/tv_status_text"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/dp_10"
        android:textColor="@color/black30"
        android:textSize="@dimen/sp_14"
        tools:text="@string/status_layout_error_network" />

    <com.hjq.shape.view.ShapeButton
        android:id="@+id/btn_status_retry"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/dp_20"
        android:paddingHorizontal="@dimen/dp_15"
        android:paddingVertical="@dimen/dp_8"
        android:text="@string/status_layout_retry"
        android:textColor="@color/white"
        android:textSize="@dimen/sp_13"
        android:visibility="invisible"
        app:shape_radius="@dimen/dp_5"
        app:shape_solidColor="@color/common_accent_color"
        app:shape_solidPressedColor="@color/common_button_pressed_color"
        app:shape_type="rectangle"
        tools:visibility="visible" />

    <View
        android:layout_width="wrap_content"
        android:layout_height="0px"
        android:layout_weight="1.5" />

</com.hjq.nested.scroll.layout.NestedScrollLinearLayout>