<?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_day"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:background="@android:color/white">

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

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

            <ImageView
                android:id="@+id/widget_day_icon"
                android:layout_width="@dimen/widget_current_weather_icon_size"
                android:layout_height="@dimen/widget_current_weather_icon_size"
                android:layout_centerInParent="true"
                android:layout_marginStart="@dimen/small_margin"
                android:layout_marginEnd="@dimen/small_margin"
                android:src="@drawable/weather_cloudy"
                tools:ignore="ContentDescription" />

            <TextView
                android:id="@+id/widget_day_title"
                android:layout_centerVertical="true"
                android:layout_toStartOf="@id/widget_day_icon"
                android:text="@string/widget_ellipsis"
                android:textSize="@dimen/widget_content_text_size"
                android:textAlignment="viewEnd"
                android:maxLines="2"
                android:ellipsize="end"
                android:shadowColor="@color/colorWidgetTextShadow"
                android:shadowDx="1"
                android:shadowDy="1"
                android:shadowRadius="1"
                style="@style/widget_content_text"
                tools:text="San Francisco\n21° C"
                tools:ignore="RtlHardcoded" />

            <TextView
                android:id="@+id/widget_day_subtitle"
                android:layout_centerVertical="true"
                android:layout_toEndOf="@+id/widget_day_icon"
                android:text="@string/widget_ellipsis"
                android:textSize="@dimen/widget_content_text_size"
                android:maxLines="2"
                android:ellipsize="end"
                android:shadowColor="@color/colorWidgetTextShadow"
                android:shadowDx="1"
                android:shadowDy="1"
                android:shadowRadius="1"
                style="@style/widget_content_text"
                tools:text="Partly cloudy\n23°/17°"
                tools:ignore="RtlHardcoded" />

        </RelativeLayout>

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

            <FrameLayout
                android:id="@+id/widget_day_center"
                android:layout_centerInParent="true"
                android:layout_width="@dimen/widget_current_weather_icon_size"
                android:layout_height="1dp" />

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignStart="@id/widget_day_center"
                android:layout_alignParentEnd="true">

                <TextView
                    android:id="@+id/widget_day_time"
                    android:text="@string/widget_refreshing"
                    android:textSize="@dimen/widget_time_text_size"
                    android:shadowColor="@color/colorWidgetTextShadow"
                    android:shadowDx="1"
                    android:shadowDy="1"
                    android:shadowRadius="1"
                    android:layout_centerInParent="true"
                    style="@style/widget_content_text"
                    tools:text="WEN 17:00"
                    tools:ignore="RtlHardcoded" />

            </RelativeLayout>

        </RelativeLayout>

    </LinearLayout>

</RelativeLayout>
