<?xml version="1.0" encoding="utf-8"?><!--
  ~ Nextcloud Talk application
  ~
  ~ @author Julius Linus
  ~ Copyright (C) 2023 Julius Linus <julius.linus@nextcloud.com>
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:background="@color/white">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/standard_margin"
        android:orientation="horizontal">

        <com.google.android.material.textview.MaterialTextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="@string/nc_remind"
            android:layout_weight="1"
            android:textSize="@dimen/md_title_textsize" />

        <com.google.android.material.textview.MaterialTextView
            android:id="@+id/date_time_picker_timestamp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            tools:text="Apr 15th, 8:00 AM"
            android:textSize="@dimen/supporting_text_text_size"
            android:textStyle="bold" />

    </LinearLayout>


    <com.google.android.material.divider.MaterialDivider
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

    <LinearLayout
        android:id="@+id/date_time_picker_later_today"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?android:attr/selectableItemBackground"
        android:orientation="horizontal"
        android:padding="@dimen/standard_padding">

        <com.google.android.material.textview.MaterialTextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="@string/later_today"
            android:textSize="@dimen/headline_text_size" />

        <com.google.android.material.textview.MaterialTextView
            android:id="@+id/date_time_picker_later_today_textview"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="@dimen/headline_text_size"
            android:text="" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/date_time_picker_tomorrow"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?android:attr/selectableItemBackground"
        android:orientation="horizontal"
        android:padding="@dimen/standard_padding">

        <com.google.android.material.textview.MaterialTextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="@string/tomorrow"
            android:textSize="@dimen/headline_text_size" />

        <com.google.android.material.textview.MaterialTextView
            android:id="@+id/date_time_picker_tomorrow_textview"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="@dimen/headline_text_size"
            android:text="" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/date_time_picker_weekend"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?android:attr/selectableItemBackground"
        android:orientation="horizontal"
        android:padding="@dimen/standard_padding">

        <com.google.android.material.textview.MaterialTextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="@string/this_weekend"
            android:textSize="@dimen/headline_text_size" />

        <com.google.android.material.textview.MaterialTextView
            android:id="@+id/date_time_picker_weekend_textview"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="@dimen/headline_text_size"
            android:text="" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/date_time_picker_next_week"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?android:attr/selectableItemBackground"
        android:orientation="horizontal"
        android:padding="@dimen/standard_padding">

        <com.google.android.material.textview.MaterialTextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="@string/next_week"
            android:textSize="@dimen/headline_text_size" />

        <com.google.android.material.textview.MaterialTextView
            android:id="@+id/date_time_picker_next_week_textview"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="@dimen/headline_text_size"
            android:text="" />
    </LinearLayout>

    <com.google.android.material.divider.MaterialDivider
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

    <LinearLayout
        android:id="@+id/date_time_picker_custom"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:padding="@dimen/standard_padding"
        android:background="?android:attr/selectableItemBackground">

        <ImageView
            android:id="@+id/date_time_picker_custom_icon"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/baseline_calendar_month_24"
            android:paddingEnd="@dimen/standard_double_padding"
            tools:ignore="RtlSymmetry"
            android:contentDescription="@string/calendar" />

        <com.google.android.material.textview.MaterialTextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="@string/custom"
            android:layout_weight="1"
            android:textSize="@dimen/headline_text_size" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:layout_weight="1">

            <com.google.android.material.button.MaterialButton
                android:id="@+id/button_delete"
                style="@style/Button.Borderless"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:minHeight="@dimen/min_size_clickable_area"
                android:text="@string/nc_delete"
                android:textColor="@color/design_default_color_error" />

        </LinearLayout>

        <com.google.android.material.button.MaterialButton
            android:id="@+id/button_set"
            style="@style/Button.Borderless"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:minHeight="@dimen/min_size_clickable_area"
            android:text="@string/set" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/button_close"
            style="@style/Button.Borderless"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end"
            android:minHeight="@dimen/min_size_clickable_area"
            android:text="@string/close" />

    </LinearLayout>


</LinearLayout>