<?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="wrap_content"
  android:background="@color/dialog_background">

    <RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom|end">

        <View
          style="@style/horizontal_divider"
          android:id="@+id/divider"
          android:background="@color/divider"
          android:layout_alignParentTop="true" />

        <com.google.android.material.button.MaterialButton
          style="@style/Widget.MaterialComponents.Button.TextButton"
          android:textColor="?attr/colorAccent"
          android:id="@+id/ok_button"
          android:text="@string/ok"
          android:layout_below="@id/divider"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentEnd="true" />

        <com.google.android.material.button.MaterialButton
          style="@style/Widget.MaterialComponents.Button.TextButton"
          android:textColor="?attr/colorAccent"
          android:layout_below="@id/divider"
          android:id="@+id/cancel_button"
          android:text="@string/cancel"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:paddingStart="@dimen/keyline_first"
          android:paddingEnd="@dimen/keyline_first"
          android:layout_toStartOf="@id/ok_button" />

    </RelativeLayout>


</FrameLayout>
