<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center_horizontal"
    style="@style/dialog_card" >

    <LinearLayout
        style="@style/dialog_margins"
        android:layout_marginHorizontal="@dimen/dialog_margin_horizontal"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical" >

        <TextView
            style="@style/dialog_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/dialog_title_margin_bottom"
            android:text="@string/request_mtu" />


        <TextView
            style="@style/dialog_text_info"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/space_SM"
            android:text="@string/request_mtu_description" />

        <include layout="@layout/seek_control"
            android:id="@+id/seek_bar_mtu" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:layout_marginTop="@dimen/dialog_button_margin_top"
            android:layout_marginHorizontal="@dimen/dialog_margin_horizontal_plus_button_margin_end"
            android:gravity="end">

            <androidx.appcompat.widget.AppCompatButton android:id="@+id/cancel_request"
                style="@style/dialog_button_negative_action"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginEnd="@dimen/dialog_margin_between_buttons"
                android:text="@string/button_cancel" />

            <androidx.appcompat.widget.AppCompatButton android:id="@+id/request"
                style="@style/dialog_button_positive_action"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginEnd="@dimen/dialog_button_margin_end"
                android:text="@string/Request" />
        </LinearLayout>

    </LinearLayout>

</androidx.cardview.widget.CardView>