1<?xml version="1.0" encoding="utf-8"?><!--
2 Copyright 2016 The Android Open Source Project
3
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
8     http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="match_parent" >
19
20    <TextView
21        android:id="@+id/text_registered_alarms"
22        android:layout_width="match_parent"
23        android:layout_height="wrap_content"
24        android:layout_marginTop="@dimen/margin_small"
25        android:drawableTop="@drawable/ic_alarm_black_24dp"
26        android:text="@string/registered_alarms"
27        android:textSize="14sp"
28        android:gravity="center"
29        />
30
31    <TextView
32        android:id="@+id/text_intro_message"
33        android:layout_width="match_parent"
34        android:layout_height="wrap_content"
35        android:layout_margin="@dimen/margin_medium"
36        android:layout_below="@id/text_registered_alarms"
37        android:text="@string/intro_message"
38        android:textSize="20sp"
39        android:visibility="gone"
40        />
41
42    <android.support.v7.widget.RecyclerView
43        android:id="@+id/recycler_view_alarms"
44        android:layout_width="match_parent"
45        android:layout_height="match_parent"
46        android:layout_below="@id/text_intro_message"
47        />
48
49    <android.support.design.widget.FloatingActionButton
50        android:id="@+id/fab_add_alarm"
51        android:layout_width="wrap_content"
52        android:layout_height="wrap_content"
53        android:layout_gravity="end|bottom"
54        android:layout_margin="@dimen/margin_large"
55        android:layout_alignParentEnd="true"
56        android:layout_alignParentBottom="true"
57        android:src="@drawable/ic_add_alarm_white_24dp" />
58</RelativeLayout>
59