1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright 2016 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7     http://www.apache.org/licenses/LICENSE-2.0
8 Unless required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS,
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 See the License for the specific language governing permissions and
12 limitations under the License.
13-->
14
15<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
16    android:layout_width="match_parent"
17    android:layout_height="@dimen/alarm_row_height"
18    android:layout_marginLeft="@dimen/margin_medium"
19    android:layout_marginRight="@dimen/margin_medium" >
20
21    <TextView
22        android:id="@+id/text_alarm_time"
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content"
25        android:layout_marginStart="@dimen/margin_medium"
26        android:textSize="52sp"
27        />
28
29    <TextView
30        android:id="@+id/text_alarm_date"
31        android:layout_width="wrap_content"
32        android:layout_height="wrap_content"
33        android:layout_toEndOf="@id/text_alarm_time"
34        android:layout_marginStart="@dimen/margin_small"
35        android:layout_alignBaseline="@id/text_alarm_time"
36        android:textSize="20sp"
37        />
38
39    <ImageView
40        android:id="@+id/image_delete_alarm"
41        android:layout_width="wrap_content"
42        android:layout_height="wrap_content"
43        android:layout_marginEnd="@dimen/margin_medium"
44        android:layout_centerVertical="true"
45        android:layout_alignParentEnd="true"
46        android:src="@drawable/ic_delete_black_24dp"
47        />
48</RelativeLayout>