<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/layout_root"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingStart="?dialogPreferredPadding"
    android:paddingTop="12dp"
    android:paddingEnd="?dialogPreferredPadding"
    android:paddingBottom="12dp">

    <RadioGroup
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <RadioButton
            android:id="@+id/dialog_photo_or_video_photo"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/option_take_photo"
            tools:checked="true" />

        <RadioButton
            android:id="@+id/dialog_photo_or_video_video"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:minWidth="180dp"
            android:text="@string/option_take_video" />

        <!-- Displayed only form the settings -->
        <RadioButton
            android:id="@+id/dialog_photo_or_video_always_ask"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:minWidth="180dp"
            android:text="@string/option_always_ask"
            android:visibility="gone"
            tools:visibility="visible" />

    </RadioGroup>

    <!-- Displayed only form the timeline -->
    <CheckBox
        android:id="@+id/dialog_photo_or_video_as_default"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/use_as_default_and_do_not_ask_again"
        android:visibility="gone"
        tools:visibility="visible" />

</LinearLayout>