<?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="@android:id/background"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/widget_m3_background"
    android:theme="@style/BreezyWeatherAndroidSWidget"
    style="@android:style/Widget"
    tools:layout_width="192dp"
    tools:layout_height="98dp">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <TextView
            android:id="@+id/widget_material_you_forecast_city"
            android:text="@string/widget_ellipsis"
            android:paddingTop="@dimen/normal_margin"
            android:paddingStart="@dimen/normal_margin"
            android:paddingEnd="@dimen/normal_margin"
            android:textSize="@dimen/subtitle_text_size"
            android:textStyle="bold"
            android:textColor="?android:attr/textColorPrimary"
            android:maxLines="1"
            android:ellipsize="end"
            style="@style/widget_title_text"
            tools:text="Recife"
            tools:ignore="RtlHardcoded" />

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:gravity="center_vertical"
            android:padding="@dimen/small_margin"
            android:layout_gravity="bottom">

            <TextView
                android:id="@+id/widget_material_you_forecast_currentTemperature"
                android:text="@string/widget_ellipsis"
                android:layout_marginStart="@dimen/small_margin"
                android:layout_marginEnd="-4dp"
                android:textSize="42sp"
                android:textStyle="bold"
                android:textColor="?android:attr/textColorPrimary"
                style="@style/widget_large_title_text"
                tools:text="27°"
                tools:ignore="RtlHardcoded" />

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

                <TextView
                    android:id="@+id/widget_material_you_forecast_daytimeTemperature"
                    android:text="@string/widget_ellipsis"
                    android:layout_marginStart="@dimen/small_margin"
                    android:layout_marginEnd="@dimen/small_margin"
                    android:textSize="@dimen/content_text_size"
                    android:textStyle="bold"
                    android:textColor="?android:attr/textColorSecondary"
                    android:includeFontPadding="false"
                    style="@style/widget_subtitle_text"
                    tools:text="31°"
                    tools:ignore="RtlHardcoded" />

                <TextView
                    android:id="@+id/widget_material_you_forecast_nighttimeTemperature"
                    android:text="@string/widget_ellipsis"
                    android:layout_marginStart="@dimen/small_margin"
                    android:layout_marginEnd="@dimen/small_margin"
                    android:textSize="@dimen/content_text_size"
                    android:textStyle="bold"
                    android:alpha="0.66"
                    android:textColor="?android:attr/textColorSecondary"
                    android:includeFontPadding="false"
                    style="@style/widget_subtitle_text"
                    tools:text="19°"
                    tools:ignore="RtlHardcoded" />

            </LinearLayout>

        </LinearLayout>

        <ImageView
            android:id="@+id/widget_material_you_forecast_currentIcon"
            android:layout_width="@dimen/widget_small_weather_icon_size"
            android:layout_height="@dimen/widget_small_weather_icon_size"
            android:src="@drawable/weather_cloudy"
            android:layout_margin="@dimen/normal_margin"
            android:layout_gravity="end|bottom"
            tools:ignore="ContentDescription" />

    </FrameLayout>

</RelativeLayout>
