<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/nodata_view"
    android:visibility="visible"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <include
        android:id="@+id/nodata_head"
        layout="@layout/dh_head_dialog"/>
    
    <RelativeLayout
        android:id="@+id/dh_nodata_content"
        android:visibility="visible"
        android:layout_below="@id/nodata_head"
        android:paddingTop="@dimen/dh_vertial_margin"
        android:paddingBottom="@dimen/dh_vertial_margin"
        android:gravity="center"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <TextView
            android:id="@+id/nodata_tv"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:drawablePadding="20dp"
            android:drawableTop="@drawable/dh_nodata_bg"
            android:layout_gravity="center"
            android:gravity="center"
            android:text="@string/dh_err_no_connection"
            android:textColor="@color/dh_txt_gray_dark"
            android:textSize="@dimen/dh_txt_small" />

        <Button
            android:layout_below="@+id/nodata_tv"
            android:id="@+id/dh_refresh"
            android:layout_gravity="center"
            android:layout_centerHorizontal="true"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/dh_vertial_margin"
            android:background="@drawable/dh_refresh_btn"
            android:text="@string/dh_refresh"
            android:textSize="@dimen/dh_txt_small"
            android:textColor="@color/dh_txt_gray_dark"/>
        
    </RelativeLayout>

</RelativeLayout>