<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/widget_clock_day"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:background="@android:color/black">

    <ImageView
        android:id="@+id/widget_clock_day_card"
        style="@style/widget_background_card"
        tools:ignore="ContentDescription" />

    <LinearLayout
        android:id="@+id/widget_clock_day_weather"
        android:layout_centerInParent="true"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <RelativeLayout
            android:id="@+id/widget_clock_day_clock_lightContainer"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <TextClock
                android:id="@+id/widget_clock_day_clock_light"
                android:fontFamily="sans-serif-light"
                android:layout_centerInParent="true"
                android:layout_marginStart="@dimen/small_margin"
                android:layout_marginEnd="@dimen/small_margin"
                style="@style/widget_text_clock"
                tools:text="9:10"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

            <TextClock
                android:id="@+id/widget_clock_day_clock_aa_light"
                android:layout_toEndOf="@id/widget_clock_day_clock_light"
                android:layout_alignBaseline="@id/widget_clock_day_clock_light"
                style="@style/widget_text_clock_aa"
                tools:text="AM"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/widget_clock_day_clock_normalContainer"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone"
            tools:visibility="visible">

            <TextClock
                android:id="@+id/widget_clock_day_clock_normal"
                android:layout_centerInParent="true"
                android:layout_marginStart="@dimen/small_margin"
                android:layout_marginEnd="@dimen/small_margin"
                style="@style/widget_text_clock"
                tools:text="9:10"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

            <TextClock
                android:id="@+id/widget_clock_day_clock_aa_normal"
                android:layout_toEndOf="@id/widget_clock_day_clock_normal"
                android:layout_alignBaseline="@id/widget_clock_day_clock_normal"
                style="@style/widget_text_clock_aa"
                tools:text="AM"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/widget_clock_day_clock_blackContainer"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone"
            tools:visibility="visible">

            <TextClock
                android:id="@+id/widget_clock_day_clock_black"
                android:fontFamily="sans-serif-black"
                android:layout_centerInParent="true"
                android:layout_marginStart="@dimen/small_margin"
                android:layout_marginEnd="@dimen/small_margin"
                style="@style/widget_text_clock"
                tools:text="9:10"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

            <TextClock
                android:id="@+id/widget_clock_day_clock_aa_black"
                android:layout_toEndOf="@id/widget_clock_day_clock_black"
                android:layout_alignBaseline="@id/widget_clock_day_clock_black"
                style="@style/widget_text_clock_aa"
                tools:text="AM"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/widget_clock_day_clock_analogContainer_auto"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone"
            tools:visibility="visible">

            <AnalogClock
                android:id="@+id/widget_clock_day_clock_analog_auto"
                android:layout_margin="@dimen/small_margin"
                android:layout_centerInParent="true"
                style="@style/widget_text_clock_analog"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/widget_clock_day_clock_analogContainer_light"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone"
            tools:visibility="visible">

            <AnalogClock
                android:id="@+id/widget_clock_day_clock_analog_light"
                android:layout_margin="@dimen/small_margin"
                android:layout_centerInParent="true"
                style="@style/widget_text_clock_analog.Light"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/widget_clock_day_clock_analogContainer_dark"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone"
            tools:visibility="visible">

            <AnalogClock
                android:id="@+id/widget_clock_day_clock_analog_dark"
                android:layout_margin="@dimen/small_margin"
                android:layout_centerInParent="true"
                style="@style/widget_text_clock_analog.Dark"
                tools:ignore="RelativeOverlap,RtlHardcoded" />

        </RelativeLayout>

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

            <RelativeLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:layout_marginStart="@dimen/normal_margin"
                android:layout_marginEnd="@dimen/normal_margin"
                tools:ignore="UselessParent">

                <TextClock
                    android:id="@+id/widget_clock_day_date"
                    android:maxLines="1"
                    android:textSize="@dimen/widget_title_text_size"
                    android:layout_centerVertical="true"
                    style="@style/widget_content_text"
                    tools:text="Sun 4 Nov"
                    tools:ignore="RelativeOverlap,RtlHardcoded" />

                <TextView
                    android:id="@+id/widget_clock_day_title"
                    android:text="@string/widget_ellipsis"
                    android:maxLines="1"
                    android:textSize="@dimen/widget_title_text_size"
                    android:layout_toEndOf="@id/widget_clock_day_date"
                    android:layout_centerVertical="true"
                    android:layout_marginStart="@dimen/normal_margin"
                    style="@style/widget_content_text"
                    tools:text="17°"
                    tools:ignore="RtlHardcoded" />

                <TextView
                    android:id="@+id/widget_clock_day_subtitle"
                    android:text="@string/widget_ellipsis"
                    android:textSize="@dimen/widget_subtitle_text_size"
                    android:layout_alignBaseline="@id/widget_clock_day_title"
                    android:layout_toEndOf="@id/widget_clock_day_title"
                    android:layout_marginStart="2dp"
                    style="@style/widget_content_text"
                    tools:text="19°/-1°"
                    tools:ignore="RtlHardcoded" />

            </RelativeLayout>

        </RelativeLayout>

    </LinearLayout>

</RelativeLayout>
