<?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/fragment_layout_schedule"
    android:layout_width="fill_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:background="@color/background_app"
    tools:ignore="Overdraw">

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/section"
        android:layout_margin="7dp">

        <TextView
            android:id="@+id/tv_schedule_type"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/section_title"
            android:paddingBottom="4dp"
            android:paddingEnd="10dp"
            android:paddingLeft="20dp"
            android:paddingRight="10dp"
            android:paddingStart="20dp"
            android:paddingTop="4dp"
            android:text="@string/lablanca_schedule_gm"
            android:textAppearance="?android:attr/textAppearanceLarge"
            android:textColor="@color/section_title"
            android:textStyle="bold"
            tools:layout_width="match_parent"/>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_margin="7dp"
            android:background="@drawable/entry"
            android:orientation="vertical"
            android:padding="7dp">

            <LinearLayout
                android:id="@+id/ll_schedule_date"
                android:layout_width="match_parent"
                android:layout_height="match_parent">

                <Button
                    android:id="@+id/bt_schedule_l"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight=".8"
                    android:background="@drawable/button_selector"
                    android:text="@string/arrow_left"
                    android:textColor="@color/input_button_color"
                    android:textStyle="bold"/>

                <LinearLayout
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_weight=".3"
                    android:gravity="center"
                    android:orientation="horizontal">

                    <TextView
                        android:id="@+id/tv_schedule_day_number"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:textAppearance="?android:attr/textAppearanceLarge"
                        android:textSize="40sp"/>

                    <LinearLayout
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:orientation="vertical">

                        <TextView
                            android:id="@+id/tv_schedule_day_title"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:paddingEnd="0dp"
                            android:paddingLeft="13dp"
                            android:paddingRight="0dp"
                            android:paddingStart="13dp"
                            android:textSize="20sp"
                            android:textStyle="italic"/>

                        <TextView
                            android:id="@+id/tv_schedule_day_month"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:textAppearance="?android:attr/textAppearanceSmall"/>
                    </LinearLayout>
                </LinearLayout>

                <Button
                    android:id="@+id/bt_schedule_r"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:layout_gravity="end"
                    android:layout_weight=".8"
                    android:background="@drawable/button_selector"
                    android:text="@string/arrow_right"
                    android:textColor="@color/input_button_color"
                    android:textStyle="bold"/>
            </LinearLayout>

            <EditText
                android:id="@+id/et_schedule_filter"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_marginEnd="10dp"
                android:layout_marginLeft="10dp"
                android:layout_marginRight="10dp"
                android:layout_marginStart="10dp"
                android:layout_marginTop="15dp"
                android:layout_weight="1"
                android:background="@drawable/input"
                android:ems="10"
                android:hint="@string/schedule_filter"
                android:textColor="@color/input_text_color"
                android:textColorHint="@color/input_hint_color">

                <requestFocus/>
            </EditText>

        </LinearLayout>

        <com.ivalentin.margolariak.CustomScrollView
            android:id="@+id/sv_schedule"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:padding="7dp">

            <LinearLayout
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@drawable/entry"
                android:padding="7dp">

                <LinearLayout
                    android:id="@+id/ll_schedule_list"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical"
                    android:padding="7dp">
                </LinearLayout>
            </LinearLayout>

        </com.ivalentin.margolariak.CustomScrollView>

    </LinearLayout>

</LinearLayout>