<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/dh_white" >

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingLeft="@dimen/dh_horizontal_margin"
        android:paddingRight="@dimen/dh_horizontal_margin">

        <include layout="@layout/dh_nodata_layer" />
    </RelativeLayout>

    <!-- used when the web page don't have toolbar -->

    <LinearLayout
        android:id="@+id/dh_web_layer"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical" >

        <RelativeLayout
            android:id="@+id/dh_web_tool"
            android:layout_width="match_parent"
            android:layout_height="@dimen/dh_40dp"
            android:visibility="visible" >

            <ImageButton
                android:id="@+id/dh_web_back"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_alignParentLeft="true"
                android:layout_centerVertical="true"
                android:background="@color/dh_transparent"
                android:paddingLeft="@dimen/dh_horizontal_margin"
                android:paddingRight="@dimen/dh_horizontal_margin"
                android:src="@drawable/dh_leftarrow"
                android:visibility="visible" />

            <ImageButton
                android:id="@+id/dh_web_close"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:background="@color/dh_transparent"
                android:paddingLeft="@dimen/dh_horizontal_margin"
                android:paddingRight="@dimen/dh_horizontal_margin"
                android:src="@drawable/dh_close"
                android:visibility="visible" />
        </RelativeLayout>

        <WebView
            android:id="@+id/dh_web"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />
    </LinearLayout>

    <ProgressBar
        android:id="@+id/dh_web_pb"
        style="@style/dh_pb_horizontal" />

</FrameLayout>