<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2016 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:systemui="http://schemas.android.com/apk/res-auto"
    android:id="@+id/date_time_alarm_group"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="16dp"
    android:layout_marginStart="16dp"
    android:gravity="start"
    android:orientation="vertical">
    <LinearLayout
        android:id="@+id/date_time_group"
        android:layout_width="wrap_content"
        android:layout_height="19dp"
        android:orientation="horizontal"
        android:focusable="true" >

        <include layout="@layout/split_clock_view"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:id="@+id/clock" />

        <com.android.systemui.statusbar.policy.DateView
            android:id="@+id/date"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="6dp"
            android:drawableStart="@drawable/header_dot"
            android:drawablePadding="6dp"
            android:singleLine="true"
            android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock"
            android:textSize="@dimen/qs_time_collapsed_size"
            android:gravity="top"
            systemui:datePattern="@string/abbrev_wday_month_day_no_year_alarm" />

        <com.android.systemui.statusbar.AlphaOptimizedImageView
            android:id="@+id/alarm_status_collapsed"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:src="@drawable/ic_access_alarms_small"
            android:paddingStart="6dp"
            android:gravity="center"
            android:visibility="gone" />
    </LinearLayout>

    <com.android.systemui.statusbar.AlphaOptimizedButton
        android:id="@+id/alarm_status"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:minHeight="20dp"
        android:paddingTop="3dp"
        android:drawablePadding="8dp"
        android:drawableStart="@drawable/ic_access_alarms_small"
        android:textColor="#64ffffff"
        android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date"
        android:gravity="top"
        android:background="?android:attr/selectableItemBackground"
        android:visibility="gone" />

</LinearLayout>
