<?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_date_time_holder"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <RelativeLayout
        android:id="@+id/widget_time_holder"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_horizontal">

        <TextView
            android:id="@+id/widget_time"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:includeFontPadding="false"
            android:shadowColor="@android:color/black"
            android:shadowDy="1"
            android:shadowRadius="1"
            android:textSize="@dimen/widget_time_text_size_small"
            tools:text="00:00"/>

        <TextView
            android:id="@+id/widget_time_am_pm"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBaseline="@+id/widget_time"
            android:layout_toRightOf="@+id/widget_time"
            android:includeFontPadding="false"
            android:shadowColor="@android:color/black"
            android:shadowDy="1"
            android:shadowRadius="1"
            android:textSize="@dimen/widget_details_text_size"
            tools:text=" a.m."/>
    </RelativeLayout>

    <TextView
        android:id="@+id/widget_date"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/widget_time_holder"
        android:layout_centerHorizontal="true"
        android:gravity="center_horizontal"
        android:includeFontPadding="false"
        android:shadowColor="@android:color/black"
        android:shadowDy="1"
        android:shadowRadius="1"
        android:textSize="@dimen/widget_details_text_size"
        tools:text="Mon, 1 January"/>

    <RelativeLayout
        android:id="@+id/widget_alarm_holder"
        android:layout_width="match_parent"
        android:layout_height="@dimen/widget_alarm_icon_size"
        android:layout_below="@+id/widget_date"
        android:gravity="center_horizontal">

        <ImageView
            android:id="@+id/widget_next_alarm_image"
            android:layout_width="@dimen/widget_alarm_icon_size"
            android:layout_height="@dimen/widget_alarm_icon_size"
            android:src="@drawable/ic_clock"/>

        <TextView
            android:id="@+id/widget_next_alarm"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toRightOf="@+id/widget_next_alarm_image"
            android:includeFontPadding="false"
            android:paddingLeft="@dimen/small_margin"
            android:shadowColor="@android:color/black"
            android:shadowDy="1"
            android:shadowRadius="1"
            android:textSize="@dimen/widget_details_text_size"
            tools:text="Tue, 18:30"/>

    </RelativeLayout>
</RelativeLayout>
