<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true"
    android:orientation="vertical">

<android.support.v7.widget.Toolbar
  android:id="@+id/dialog_activity_toolbar"
  android:layout_width="match_parent"
  android:layout_height="?attr/actionBarSize"
  android:elevation="4dp"
  android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
  app:popupTheme="@style/ThemeOverlay.AppCompat"
  android:background="?attr/colorPrimary">
</android.support.v7.widget.Toolbar>

<WebView
  android:id="@+id/dialog_webview"
  android:layout_width="match_parent" android:layout_height="match_parent"
  android:paddingLeft="4dip" android_paddingRight="4dip" android:layout_weight="1"
/>

  <android.support.v7.widget.AppCompatButton
    android:id="@+id/dialog_ok" android:text="OK"
    style="?android:attr/buttonStyleSmall" 
    app:backgroundTint="@color/colorPrimary"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center"
  />

</LinearLayout>

